put the helper-jar in the ear and fill the Classpath-element in META-INF of the war and ejb-jar with this entry.
Another pretty basic question, but my servlets lookup ejbs through jndi, so I need interfaces of my ejbs to be known at the web container level. Is it automatic ? Or i need to package interfaces in a jar and put it in the WEB-INF/lib of my .war ?
you could use the following packaging:
- bean classes and bean resources in YOUR_EJB.jar
- home and component interfaces in YOUR_EJB_client.jar
Then you can put the client.jar into your ear, add the reference to the manifest.mf of your web-application (or give it to any other client you wish) and you can be sure, that anyone using your ejb does only need to know the client interfaces.