de.netseeker.ejoe.examples.echo
Class EchoHandler

java.lang.Object
  extended by de.netseeker.ejoe.examples.echo.EchoHandler
All Implemented Interfaces:
ServerHandler, java.io.Serializable

public class EchoHandler
extends java.lang.Object
implements ServerHandler

Author:
netseeker
See Also:
Serialized Form

Constructor Summary
EchoHandler()
           
 
Method Summary
 java.lang.Object handle(java.lang.Object obj)
          Handles a client request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EchoHandler

public EchoHandler()
Method Detail

handle

public java.lang.Object handle(java.lang.Object obj)
                        throws java.lang.Exception
Description copied from interface: ServerHandler
Handles a client request

Specified by:
handle in interface ServerHandler
Parameters:
obj - The input object transported by EJOE
Returns:
null or an valid return value. If you want return custom datatypes, eg. your own beans and don't want (or are not able) to deploy the classes of these datatypes on the client you can turn on EJOEs remote classloading feature.
Throws:
java.lang.Exception


Copyright © 2005-2007 netseeker. All Rights Reserved.