What is really required is a pattern that comes up a lot, but we currently have no direct implementation for it.
It is the combined Transaction/InvocationContext pattern. i.e. When we have a transaction state should be synchronized with it. When there is no transaction state should tidied up when the invocation finishes. There are extra complications relating to recursive calls, e.g. Entity re-entrance. The pattern also needs to take into account singletons like Servlets and JMX when outside the EJB context. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861199#3861199 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861199 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development