Re: Requirements for servlet session attributes?

2018-07-05 Thread Luis Rodríguez Fernández
Hello Alex, It looks like you are missing the getSession() method there: HttpServletRequest#getSession()#setAttribute("mykey", clientObjectHere); please have a look at [1] Hope it helps, Luis [1]

Re: Requirements for servlet session attributes?

2018-07-03 Thread Alex O'Ree
The jaws client maybe takes 100ms to fire up. So it's not terrible slow but the overall website is noticeably faster when caching it. All of the resources (wsdls, xsds) are local but there's a quite a few of them. Caching this object does not work as a session attribute.

Re: Requirements for servlet session attributes?

2018-07-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alex, On 7/1/18 7:48 AM, Alex O'Ree wrote: > I was working on attempting to increase performance on a web app > which calls a jaxws service on behalf of the user. The process for > creating the jaxws client is somewhat slow so I was to try and >

Requirements for servlet session attributes?

2018-07-01 Thread Alex O'Ree
I was working on attempting to increase performance on a web app which calls a jaxws service on behalf of the user. The process for creating the jaxws client is somewhat slow so I was to try and cache the the jaxws client object as an HTTP session attribute. It doesn't work for some reason. What