I have a scenario where I need to deploy a service dynamically in a
web-app.  This web app starts as a listener and I need to build the
web service while it is starting.  This web-app starts before the
Axis2 because AxisServlet starts after the listener.
So, I build the service dynamically and store it in the
ConfigurationContext.  Then I use,
serveltContext.setAttribute(AxisServlet.CONFIGURATION_CONTEXT,
configurationContext).  When Axis2 starts, it picks up the value of
attribute "AxisServlet.CONFIGURATION_CONTEXT" and deploy the web
service specified in the configurationContext reference I stored.
Everything works fine.  My question is:  Is this way of storing
"AxisServlet.CONFIGURATION_CONTEXT" attribute in servletContext
correct for my scenario?  Should I have any concern about using the
attribute "AxisServlet.CONFIGURATION_CONTEXT" ?

Thanks a lot!

Shah Asrani

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to