Package er.examples.erjaxws

Source Code of er.examples.erjaxws.Application

package er.examples.erjaxws;

import er.examples.erjaxws.ws.StatefulActionImpl;
import er.extensions.appserver.ERXApplication;
import er.extensions.appserver.ws.ERJaxWebService;
import er.extensions.appserver.ws.ERJaxWebServiceRequestHandler;

public class Application extends ERXApplication {
  public static void main(String[] argv) {
    ERXApplication.main(argv, Application.class);
  }

  public Application() {
    ERXApplication.log.info("Welcome to " + name() + " !");
    /* ** put your initialization code in here ** */
    setAllowsConcurrentRequestHandling(true);   
   
        ERJaxWebServiceRequestHandler wsHandler = new ERJaxWebServiceRequestHandler();
        wsHandler.registerWebService("StatefulAction", new ERJaxWebService<StatefulActionImpl>(StatefulActionImpl.class));
        this.registerRequestHandler(wsHandler, this.webServiceRequestHandlerKey());
  }
}
TOP

Related Classes of er.examples.erjaxws.Application

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.