Re: Re: how to setup call context for every request

2013-03-14 Thread Martin Grigorov
Hi Tom, Please post to the mailing lists. The chance to get an answer is bigger ;-) Check Igor's series about Wicket-CDI at https://www.42lines.net/category/blog/software-engineering/ You may need the conversation scope. On Wed, Mar 13, 2013 at 11:59 PM, Tom Eicher t...@teicher.net wrote:

Re: how to setup call context for every request

2013-03-14 Thread Tom Eicher
Reposting to the list (sorry Martin ;-) in hope for feedback on @RequestScoped Wicket-CDI vs EJB... : [...about seeting up stuff to propagate user/session/JAAS info from the wicket web layer to a JBoss AS7 EJB...] You can use IRequestCycleListener#onBeginRequest(). Thanks for the suggestion

Re: how to setup call context for every request

2013-03-12 Thread Martin Grigorov
Hi, The Session may be not there even later. Session.get() will create a temporary session for the current request, unless you do session.bind() to make it available for all following requests. Use Session.exists() to check whether a temporary or bound one is available at all. You can use