I guess after switching to Hibernate Entity Manager, all the guides seem to say to use EJB3 with a managed JTA layer, etc. I don't know if we need all that. The features that I think we could benefit from would be the ability to inject an entity manager instance into our code and have something that manages our transactions, so we don't have to manually open/close transactions. I don't know much about Spring, but it appears that you might be able to do this with Spring. Can anyone confirm this? We're eventually going to put this system on the market and the J2EE spec seems to say that the applications should be container-managed instead of application-managed. Can someone point me to a starting point to how to do this with Spring? Thanks!
|