java - Get Web Service Context Listner in JAX-WS? -
when web service in loaded first time need send message(it contains url access service) 1 of installed web applications. web application keeping track of alive web services. how can achieve this?
may not right way it...but need simplistic approach.
can access web service context listner? if right way go...
my environment jax-ws 2.2, javaee1.6, glassfish 3.1.
i should have thought before putting question probable answer. here answer may many people know it.
i using @resource annotation on instance of webservicecontext in web service class.
Comments
Post a Comment