This content has been marked as final.
Show 5 replies
-
1. Re: sharing session object between servlet and ejb
jaikiran Jul 6, 2012 6:11 AM (in response to jigneshmpatel)Why do you want the HTTP session in the EJBs?
-
2. Re: sharing session object between servlet and ejb
jigneshmpatel Jul 6, 2012 2:39 PM (in response to jaikiran)I want to share data accross the app(multiple ejbs and it spreads to OSGI calls too) for user session.
-
3. Re: sharing session object between servlet and ejb
jaikiran Jul 7, 2012 1:26 AM (in response to jigneshmpatel)But that doesn't mean you have to use the HTTP session within the EJBs. What happens if the call to EJB happens from some component which doesn't have any HTTP semantics and effectively no access to HTTP session?
-
4. Re: sharing session object between servlet and ejb
jigneshmpatel Jul 7, 2012 9:25 AM (in response to jaikiran)Well That's not a problem for current requirement. But architecturally I do like to avoid using httpsession. So what could be that?
-
5. Re: sharing session object between servlet and ejb
jigneshmpatel Jan 1, 2013 10:26 PM (in response to jigneshmpatel)Assuming both war files deployed in same application context. Is there a way to share the session between regular servlet and nio servlet?