[jboss-user] [EJB 3.0 Development] New message: "Re: Externalizing Scope: Resolving EJB References and Endpoints"
Andrew Rubinger
do-not-reply at jboss.com
Tue Feb 2 12:29:40 EST 2010
User 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
More information about the jboss-user
mailing list