Hi, For the following, lets take a simple example of :-Create a Session Bean that is deployed --by itself-- and not within a EAR. And also, lets assume that the session bean depends on a commercial (3rd party) JAR for (say) statistical analysis.
EJB jars always had dependency JARs located under META-INF/lib; Has this changed?i.e., should each EJB and all the JARs that it depends on, be packages as an EAR?
Thanks for the google link. I didn't use the keyword "bundle", when I did my searches. I just googled "maven 3rd party jars" and got a completely new set of links.Except that all the suggestions fail for me, with the --only-- difference that I am using local (~/.m2/repository) instead of a remote repository.
Why should that matter? Thanks again in advance! Wayne Fay wrote:
Its supposed to have a dependency jar (ussi.jar) included within it for deployment, but the EJB jar created never contains the ussi.jar. I am using "compile-scope" dependencies.Google for "maven ejb jar bundle" gave this link at the top: http://magnus-k-karlsson.blogspot.com/2009/08/bundle-common-jar-into-ejb-jar-with.html As always when this question is posted, I have to ask, what Java app server or EJB container and JVM/JDK are you using? AFAIK few classloaders support this arrangement of jar-within-jar. Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
smime.p7s
Description: S/MIME Cryptographic Signature
