Tag: async

Asynchronous method invocation and RequestScoped beans

The problem This week I ran into a problem with asynchronous method invocation and a RequestScoped bean. Consider the following situation. I have a JAX-WS web service with a SOAPHandler handling the authentication. In the SOAPHandler an object (let’s call it RequestContext) is filled with parameters specific to the request like the userĀ and customer information) […]