JBoss development,
A new message was posted in the thread "Externalizing Scope: Resolving EJB References
and Endpoints":
http://community.jboss.org/message/523727#523727
Author : Andrew Rubinger
Profile :
http://community.jboss.org/people/ALRubinger
Message:
--------------------------------------------------------------
I see what you're saying now.
Weld needs to defer SFSB removal. But they don't need a hook to the Container at
all. They can do:
EJBHome home = context.lookup("MyEJB/home");
EJBObject object = home.create();
// Do stuff, then later:
home.remove(object.getHandle());
Then you don't need Endpoint at all..
S,
ALR.
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/523727#523727