• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to pack ejb component with DAO's

 
prem sagar bojja
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic