Hi all,
My question lies in regards to where Hibernate should be used within a production environment.
In particular I would like to know where Hibernate should be used.
Should it be used in a web container based architecture (Tomcat) or within a J2EE architecture (JBoss AS).
If it is perceived that the use of Hibernate should be used within a J2EE solution, where actually should Hibernate be used. Should the hibernate persistance logic be used within a Session Bean, or should it be used within a Entity Bean?
If an entity bean should be used to hold the hibernate persistance logic, then how would you use the hibernate logic say for instance a CMP Entity Bean as opposed to a BMP entity bean.
Finally if there is usage of complex transaction logic within the software solution being provided, how does that impact the decision process?
Cheers
Rodney Paul
|