Re: Is Container Managed Transactions possible in case of Tomcat ?

2015-08-29 Thread Sreyan Chakravarty
By container managed transactions I mean can I do the following in Tomcat not TomEE @PersistenceContext EntityManager em; Is it possible to have the entity manager injected at runtime in Tomcat with JOTM or Atomikos? On Thu, Aug 20, 2015 at 1:09 PM, Alex Soto wrote: > Yes since Apache TomEE is

Re: Is Container Managed Transactions possible in case of Tomcat ?

2015-08-20 Thread Alex Soto
Yes since Apache TomEE is Java EE 6 certified it can runs with any JPA provider. As suggested you can use previous links for this. It is really simple. Also briefly Apache TomEE 7 M1 (Java EE 7 compatible) will be released. As mentioned subscribe to TomEE mailing list or you can contact myself wit

Re: Is Container Managed Transactions possible in case of Tomcat ?

2015-08-19 Thread Howard W. Smith, Jr.
On Aug 19, 2015 3:56 PM, "Sreyan Chakravarty" wrote: > > TomEE supports Apache OpenJPA. What if I wanted to use Hibernate as my JPA > provider ? > I searched Google for tomee hibernate tutorial And found http://tomee.apache.org/examples-trunk/jpa-hibernate/README.html https://rmannibucau.word

Re: Is Container Managed Transactions possible in case of Tomcat ?

2015-08-19 Thread Sreyan Chakravarty
TomEE supports Apache OpenJPA. What if I wanted to use Hibernate as my JPA provider ? On Wed, Aug 19, 2015 at 9:53 PM, Alex Soto wrote: > Yeah in this case you should take a look at Apache TomEE which is Apache > Tomcat + Java EE and you will get all of these for free :). > > El dc., 19 ag. 2015

Re: Is Container Managed Transactions possible in case of Tomcat ?

2015-08-19 Thread Alex Soto
Yeah in this case you should take a look at Apache TomEE which is Apache Tomcat + Java EE and you will get all of these for free :). El dc., 19 ag. 2015 a les 18:18, Daniel Mikusa () va escriure: > On Wed, Aug 19, 2015 at 12:03 PM, Sreyan Chakravarty < > sreyan.mail...@gmail.com> wrote: > > > I p

Re: Is Container Managed Transactions possible in case of Tomcat ?

2015-08-19 Thread Daniel Mikusa
On Wed, Aug 19, 2015 at 12:03 PM, Sreyan Chakravarty < sreyan.mail...@gmail.com> wrote: > I planning to use JPA (Hibernate) in a small project that I am developing. > Now I have heard a lot about the benefits of using Container Managed > Transactions(CMT) for JPA in web apps. But most of the tutor

Is Container Managed Transactions possible in case of Tomcat ?

2015-08-19 Thread Sreyan Chakravarty
I planning to use JPA (Hibernate) in a small project that I am developing. Now I have heard a lot about the benefits of using Container Managed Transactions(CMT) for JPA in web apps. But most of the tutorials on the web use either GlassFish or JBoss, so I was wondering is CMT supported by Tomcat. S