I have an EJB that returns a list of my own ValidationMessage objects:
@Remote public interface Intf { List<ValidationMessage> validateFile(); }
I am creating a JAR client JAR using the weblogic appc utility . The problem is that it does not include the ValidationMessage class in the client JAR. Perhaps he does not see the dependency of this class, because he only looks at the compiled code when the general information is already deleted.
If I add another dummy method that returns this class directly, everything will be fine in the interface.
@Remote public interface Intf { List<ValidationMessage> validateFile(); ValidationMessage dummy(); }
My question is: is there a way to fix this without adding a dummy method? Is there a way to control what is included in the appc in the client JAR?
unbeli
source share