Re: loading web serices at application server startup

2006-02-26 Thread Dies Koper

Hello Antoine,

If you mean you want to do some initialization processing in your web 
services instances when Tomcat starts:
1. Use the load-on-startup definition in your web.xml to make Tomcat 
instantiate Axis' servlet at startup time
2. Let your impl class implement javax.xml.rpc.server.ServiceLifecycle 
and put your initialization processing in the init method.


Regards,
Dies


Antoine Galataud wrote:

Hi !

I'm currenlty trying to find a way to move a corba software
implementation (which is run in a stand-alone way) to a web services
using Axis 1.3. I'm searching a way to start web services on
application server startup (eg tomcat). In fact, back-end objects
instanciated at web service instanciation time are heavy, and must be
loaded before calling the web service for the first time.
Is there a way to do that (maybe with deploy.wsdd) ?

Thanks in advance for responses


--
Antoine Galataud
[EMAIL PROTECTED]
Département Architecture des Systèmes d'Information
INSA - Rouen



--
Dies KOPER <[EMAIL PROTECTED]> (changed on 1 July 2005)
Fujitsu Ltd - MWPF1  (changed from MWPF3 on 21 Nov 2005)
2-15-16, Shin-Yokohama, Kouhoku-ku, Yokohama, 222-0033, Japan
Tel. +81(45)-475-5605  (internal 7181-4217)



loading web serices at application server startup

2006-02-25 Thread Antoine Galataud
Hi !

I'm currenlty trying to find a way to move a corba software
implementation (which is run in a stand-alone way) to a web services
using Axis 1.3. I'm searching a way to start web services on
application server startup (eg tomcat). In fact, back-end objects
instanciated at web service instanciation time are heavy, and must be
loaded before calling the web service for the first time.
Is there a way to do that (maybe with deploy.wsdd) ?

Thanks in advance for responses


--
Antoine Galataud
[EMAIL PROTECTED]
Département Architecture des Systèmes d'Information
INSA - Rouen