de.netseeker.ejoe.handler
Interface ServerHandler

All Known Implementing Classes:
ClassHandler, MultiObjectHandler

public interface ServerHandler

Simple interface defining the entry point for all server handlers. Server handlers are the working horses which the caller must implement. Server handlers take the transported input objects send by the client application and return none, one or more return values.

Author:
netseeker aka Michael Manske

Method Summary
 java.lang.Object handle(java.lang.Object obj)
          Handles a client request
 

Method Detail

handle

public java.lang.Object handle(java.lang.Object obj)
                        throws java.lang.Exception
Handles a client request

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-2006 netseeker. All Rights Reserved.