aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Hibernate + EJB3.1 + Tomcat -  what do I need to do to make this possible? 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 "Hibernate + EJB3.1 + Tomcat -  what do I need to do to make this possible?" Watch "Hibernate + EJB3.1 + Tomcat -  what do I need to do to make this possible?" New topic
Author

Hibernate + EJB3.1 + Tomcat - what do I need to do to make this possible?

Alex Averbuch
Greenhorn

Joined: Apr 16, 2012
Posts: 6
Hi,
I have three questions:

(1)
According to this link (Using Hibernate with Tomcat) running Hibernate in Tomcat is possible (despite the fact Tomcat does't support JPA).
Does anyone know if I'll run into problems with this configuration?

(2)
Can I do something similar to get EJB3.1 support in Tomcat?
For example, if I drop the correct files into WEB-INF/lib and WEB-INF/classes will it be possible to run EJB3.1 in a standard Tomcat7 container (not TomEE)?
If it is possible, which EJB3.1 provider is recommended?

(3)
Generally, is it possible to run any JavaEE technology from within Tomcat as long as I place the appropriate libraries and configuration files in WEB-INF/lib and WEB-INF/classes?
Or, is it only possible to run the technologies for which Tomcat supports the interfaces?
And, lastly, If it's not possible, then why does Hibernate work?

Thanks in advance for all help!
Pondurai Singh
Ranch Hand

Joined: Jun 27, 2011
Posts: 35
Refer this http://stackoverflow.com/questions/10558966/hibernate-ejb3-1-in-tomcat-what-is-needed-to-make-this-possible both are look like same


Software Developer, Oracle Java Certification Training Labs at EPractize Labs.
Alex Averbuch
Greenhorn

Joined: Apr 16, 2012
Posts: 6
I posted in two places to reach a wider audience, as some members of Code Ranch may not be active on Stack Overflow
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Hibernate + EJB3.1 + Tomcat - what do I need to do to make this possible?