This content has been marked as final.
Show 2 replies
-
1. Re: Use HttpSession in EJB
jaikiran Dec 24, 2012 2:20 AM (in response to michael_jboss)HTTPSession and EJBs are unrelated and don't depend on each other. As such, you'll have to design your application in such a way that you won't need access to HTTPSession in your EJBs.
-
2. Re: Use HttpSession in EJB
nickarls Dec 25, 2012 6:58 AM (in response to michael_jboss)There is of course CDI in Java EE 6 what will give you scopes and lifecycle handling so that a @SessionScoped @Stateful EJB till be just that when it is @Injected in another component if that is what you're trying to achieve...