This content has been marked as final.
Show 3 replies
-
1. Re: EJBContext in remote EJB invocation in JBoss cluster
cfang Aug 10, 2012 11:49 AM (in response to mannu_cse)If these contextual data belong to a session, then use a stateful session bean.
If they don't fit in sfsb, then save to database or ldap, etc.
-
2. Re: EJBContext in remote EJB invocation in JBoss cluster
cfang Aug 10, 2012 4:11 PM (in response to cfang)If you want to stay away from sfsb, then include the context data in each invocatoin as method params, at the risk of polluting api.
Ideally we should have support for work area context propagation:
-
3. Re: EJBContext in remote EJB invocation in JBoss cluster
mannu_cse Aug 13, 2012 4:08 AM (in response to cfang)Hi Cheng,
Thanks for the reply..
We dont want to pollute the APIs thats why we are looking to create a context service which should work in jboss cluster
I know JSR 149 is abandoned.
Any body knows if we can customize jboss-remoting subsystem and attach some context id in the remote EJB call in the transport itself
so that this ID can be used to fetch the context data maintained in the shared cache?