Im in the process of converting some servlets over to EJB3 webservices. The process has been pretty painless and I've been very pleased with the results thus far. The only problem I ran into was with regards to deploying out the EJB jar file.
I use eclipse and I put together a simple EJB jar file but it never included the libraries that went with the EJB. I'm guessing here that an EJB jar cannot include the other library JAR files. I'm ok with that and ended up placing the library files into the \glassfish\lib directory.
Now I gotta think that's not the right spot for them. I'm thinking what I need to do is assemble an EAR file for this. Is this the correct approach here?
So while I have this working I'd prefer to use the standard method for including these resource libraries. Somone point me in the right direciton?
Rob Mech, SCJP 1.5<br /><a href="http://www.robsprogrammingjunk.com/" target="_blank" rel="nofollow">http://www.robsprogrammingjunk.com/</a>
Hi, I also use eclipse and glassfish server but I never put any extra jar file in Glassfish/lib. I simply include the required jar file in eclipse project build path and then deploy it to server. Finally every thing works fine. I mean to say process is very simple.
SCJP 1.4, SCWCD 1.4, SCBCD 1.3, ITIL V3 Foundation Certification