users@glassfish.java.net

Re: Trouble calling a _at_Remove method of a stateful bean during a CMT

From: <glassfish_at_javadesktop.org>
Date: Wed, 02 Sep 2009 06:58:22 PDT

I can only suggest that whomever marked the method as @Remove either didn't expect or doesn't want their bean's methods to include in a bigger transaction/process.

CMT means that the container manages the transaction, and @Remove is, AFAIK, just a hint. If you want to control the end of the transaction than you'll have to use BMT instead I guess ???
[Message sent by forum member 'matterbury' (matterbury_at_abinitio.com)]

http://forums.java.net/jive/thread.jspa?messageID=362704