In remoting there are two kind of remote objects are available.
1. Client activated Objects – A client activated objects is created and destruction is done by the client application. An instance of the remote object is created when client invokes new operator on the server objects. This instance lives as long as client requires it.
The client object will be destructed once its existence is no longer required by any client.
2. Server activated objects – A server activated object’s lifetime is managed by the remote server and not by the client which instantiates the objects. Server activated objects are not created by the client when it calls new operator. They are created when client invokes proxy method.
There are two kinds of server objects.
Single Call – Single call objects handle only one request from a client. Single call objects are stateless objects.
Singleton – Singleton objects instance serves multiple clients. Singleton objects are stateful objects.
Remote Objects
Saturday, August 29, 2009
Posted by Chirag at Saturday, August 29, 2009
Labels: SingleCall; Remoting objects; client ;server, Singleton
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment