You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by "Wagner, Claus Dieter" <C....@t-systems.com> on 2002/02/12 14:41:56 UTC

instantiation of interface implementation

Hi list:

the object which holds an interface implementation is created upon the first
invokation of a method of this interface, e.g.,

public interface IHelloService {
  public String helloFunc();
}

public class HelloService implements IHelloService {
  public HelloService() {
    // gets invoked when an interface method is called for the first time
  }

  public String helloFunc() { ..... }
}

Question: is it possible to configure Apache Soap such that these objects
get built prior to the first invocation from remote (say, at deployment
time, or with servlet container startup)?

Thanks in advance

Regards
Claus Wagner