File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes How to pack ejb component with DAO's Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "How to pack ejb component with DAO Watch "How to pack ejb component with DAO New topic
Author

How to pack ejb component with DAO's

prem sagar bojja
Greenhorn

Joined: Dec 27, 2005
Posts: 8
Hello everybody,
I am new to ejbs. I have developed an ejb component and packed it as FinCalculator.jar. This ejb component independently deployed successfully in weblogic9.2 application server. Now i have provided DAO interfaces implemented in hibernate.
can any one help me how to package this DAO classes,jars used by hibernate and my ejb component together?.. here i have a TestClient for ejb component as POJO class but not a web client..
my application structure is as follows..
/META-INF/ejb-jar.xml
/META-INF/weblogic-ejb-jar.xml
/fc/stateless/FincalculatorEjbHome.class
/fc/stateless/FincalculatorEjb.class
/fc/stateless/FincalculatorRemote.class
/fc/stateless/TestClient.class
/hb/test/contact.class
/hb/test/contact.hbm.xml
/hb/test/hibernate.cfg.xml
/hb/test/TestDAO.class
Here myproblem is i dont know where to keep the jars used by hibernate? and how to pack all of these? .ear or .jar?
Please help me..Thanks in advance.
Regards,
Prem
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to pack ejb component with DAO's
 
Similar Threads
Deployment Problem ???
"comp/env/ejb/DcOtherInStateBenefitsSessionEJB" not found in context "java:"
META-INF directory?
deployment descriptor (ejb-jar.xml) problem
Let us start this project