axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wes Devauld" <>
Subject Re: Axis MessageContext
Date Fri, 24 Jan 2003 15:37:45 GMT
Firstly I don't think there is only one instance of a servlet for all calls
to a web context.  The reason all member variables are static is because it
does create several servlets.  With Servlets you do have to deal with
mulitple threading issues.

Second, MessageContext.getCurrentContext does correspond to the current

Just what I've found, I may be wrong.


> Two questions:

> 1) Like servlets, is there exactly one instance of the service I've

> exposed via axis?  2) If so, can I operate under the assumption that

> MessageContext.getCurrentContext() directly correlates to the current

> request? Much like Thread.currentThread()?  Thanks!

> Cory

View raw message