[jboss-user] [JBossWS] - How to disable HTTP session creation?

mikaeljl do-not-reply at jboss.com
Mon Nov 26 08:55:06 EST 2007


Hi!

First of all, is an http session always created for each ws request?
Second, how can I disable (or reconfigure timeout of) the http session object if it is implicitly created for each WS request?

According to http://jira.jboss.com/jira/browse/JBWS-1179 a session was always created for each request but according to the checkin comments this was fixed with "Delay creation of HttpSession until it is actually used", so, what will actually trigger this http session to be created.
Is it only created if I would try to get the http session from the MessageContext?

I just want to make sure that I do not create a lot of http session objects in my app. I'm exposing web services that are completely stateless and I do not want to create an http session for each ws request (due to the high request rate).

Regards
/Mikael

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107727#4107727

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107727



More information about the jboss-user mailing list