Package de.netseeker.ejoe.cltest

Source Code of de.netseeker.ejoe.cltest.ServerStarter

/*********************************************************************
* ServerStarter.java
* created on 15.08.2004 by netseeker
* $Source: /cvsroot/ejoe/EJOE/cltest/de/netseeker/ejoe/cltest/ServerStarter.java,v $
* $Date: 2007/11/17 10:59:55 $
* $Revision: 1.9 $
*********************************************************************/

package de.netseeker.ejoe.cltest;

import java.io.IOException;

import de.netseeker.ejoe.EJServer;

/**
* @author netseeker aka Michael Manske
*/
public class ServerStarter
{
    public static void main( String[] args )
    {
        EJServer server = new EJServer( new RemoteTestHandler() );
        server.enableRemoteClassLoading( true );
        server.enableNonBlockingIO( true );
        server.enableThreadPoolResizeControl( true );
        server.enablePersistentConnections( true );
        server.enableRemoteClassLoading( true );
        try
        {
            server.start();
        }
        catch ( IOException e )
        {
            e.printStackTrace();
        }
    }
}
TOP

Related Classes of de.netseeker.ejoe.cltest.ServerStarter

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.