axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <>
Subject getting at AxisEngine in a webapp
Date Tue, 25 Jun 2002 00:01:39 GMT
I have this wierd problem, I have my own code that needs access to an axis

Now I can get it from the servlet context, after AxisServlet has created it,
but there is a race condition risk there; I have to be sure that the
AxisServlet has done its work before my code starts up.

One option might be to factor the methods to get and create the engine into
a parent class, that my servlet and the Axis servlet can both share; that
way my own servlet can create the engine if needed.

What do people think about me extracting a superclass with getEngine() and
getEngineEnvironment() (plus associated constants) for AxisServlet and other
related servlets to use.

Also, how do things like ws-if get at the Axis Engine?


View raw message