You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Mitja Lustrek <mi...@bocosoft.com> on 2005/02/13 18:06:50 UTC
Initializing a web service before invoking its methods
Hello!
I want to write a web service that monitors a number of websites for
changes. Upon request it sends a digest of the changes to a client. The way
I intend to do it is to create a web service with scope 'application' in
which a thread will run continuosly to do the monitoring. This may very well
be a stupid way to do it (I'm rather inexperienced regarding the whole web
services business), in which case advice on how to do it better is welcome.
But even if my way of doing this is fine, I have a problem: my web service
starts only when one of its methods is first invoked. I want it to start
immediately. Is there a way to do that? Thanks.
Mitja