users@glassfish.java.net

Re: Removing stateful EJB and transactions

From: <glassfish_at_javadesktop.org>
Date: Tue, 30 Oct 2007 23:19:03 PST

Thanks for your follow-up. I use the following architecture:

Application 1:
- StructureSessionBean

Application 2:
- CollectorSessionBean

StructureSessionBean calls CollectorSessionBean using the InitialContext object. So far, so good. But the CollectorSessionBean also calls the StructureSessionBean to make so backward changes (using the InitialContext again). Maybe the error has to do with the fact that both beans reside in different applications?

Anyhow, when I annotate the @Remove methods with the NEVER transactiontype, then everything seems to function. I cannot create a sample directly now to reproduce the error. But I'll see what I can do.

Thanks
Jan
[Message sent by forum member 'ossaert' (ossaert)]

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