I recommended adding onto SessionProxy:
http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/proxy-spi/src/...
...to add a "removeTarget()" method. Usage becomes:
Object proxy = jndiContext.lookup("MyBean/remote");
| SessionProxy sProxy = (SessionProxy)proxy;
| sProxy.removeTarget();
...which would be No-op for SLSB/Singleton and remove the underlying bean context and
session ID from the cache for SFSB.
S,
ALR
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217865#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...