wood burning stoves 2.0*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
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://aspose.com/file-tools
 
subject: How to pack ejb component with DAO's