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 Gerry Gao <gj...@hotmail.com> on 2004/01/01 01:19:09 UTC
Re: How to load a Service at startup
Hi moch:
What's the endpoint of your service (web service?)?
I think the overhead is to create the endpoint.
If it is a servlet, you can make it load-on-startup by the web.xml.
If ejb or other java class, especially .jws, I have no idea.
Maybe you can try to use a servlet which is load-on-startup to load the
service once at startup.
Rgds!
Gerry Gao
----- Original Message -----
From: "moch" <mo...@hotmail.com>
To: "axis-user" <ax...@ws.apache.org>
Sent: Tuesday, December 30, 2003 23:32
Subject: How to load a Service at startup
> Hi all
>
> I want to startup a service as tomcat is started, because the first
time to call a service seems to init a service
> instance and always take several secends.
> How can I do this using axis+tomcat?
> Anybody can help me? Thanks.
>