| From | Sent On | Attachments |
|---|---|---|
| glas...@javadesktop.org | Jul 28, 2008 10:07 am | |
| glas...@javadesktop.org | Jul 28, 2008 10:03 pm | |
| glas...@javadesktop.org | Jul 29, 2008 9:05 am | |
| sankara rao bhogi | Jul 29, 2008 9:27 am | |
| glas...@javadesktop.org | Jul 29, 2008 9:37 am | |
| sankara rao bhogi | Jul 29, 2008 9:41 am | |
| glas...@javadesktop.org | Jul 29, 2008 9:51 am | |
| sankara rao bhogi | Jul 29, 2008 10:03 am | |
| glas...@javadesktop.org | Jul 29, 2008 10:33 am | |
| Marina Vatkina | Jul 29, 2008 10:57 am | |
| glas...@javadesktop.org | Jul 29, 2008 11:18 am | |
| Marina Vatkina | Jul 29, 2008 11:39 am | |
| glas...@javadesktop.org | Jul 29, 2008 2:36 pm | |
| glas...@javadesktop.org | Jul 29, 2008 3:06 pm | |
| glas...@javadesktop.org | Jul 29, 2008 3:06 pm | |
| glas...@javadesktop.org | Jul 29, 2008 3:08 pm | |
| glas...@javadesktop.org | Jul 29, 2008 3:11 pm | |
| glas...@javadesktop.org | Jul 29, 2008 3:21 pm | |
| glas...@javadesktop.org | Jul 29, 2008 3:41 pm | |
| glas...@javadesktop.org | Jul 29, 2008 3:52 pm | |
| glas...@javadesktop.org | Jul 29, 2008 4:07 pm |
| Subject: | Re: JTS5041: The resource manager is doing work outside a global transacti | |
|---|---|---|
| From: | glas...@javadesktop.org (glas...@javadesktop.org) | |
| Date: | Jul 29, 2008 3:21:14 pm | |
| List: | net.java.dev.glassfish.users | |
Well, that's just too much work in my opinion. The whole point of using CMT is
to simply annotate the class and let the container manage the transaction. Why
would I want to use CMT if I have to wrap the EJB inside of another component
and manage the transaction myself? A much simpler approach is the simply not use
the CMT annotation and allow Spring to manage the transactions from start to
finish. In doing so, I don't need to manage the transaction at all. Spring
manages it for me and I simply annotate my classes with the Spring
@Transacitonal annotation. Problem solved...
If I had know using CMT transactions was going to be so much work I would never
have embarked upon the journey. I would have left everything in the hands of
Spring to begin with.
[Message sent by forum member 'cmathrusse' (cmathrusse)]





