Hi all,

 

I want to write a web service that has to be initialized and configured before doing its actual job.

If we write the initialization code in the same method, it will end up doing the same stuff for each and every request.

Is there anything that we can do to avoid this and do the initialization and configuration only for the first request????

Is there anything like init() method of Servlet with which we can initialize the webservice on the first request ???

Please help.

 

Thanks in Advance

Phani Sekhar

 

 

Reply via email to