Remoting activation model will specify when the object to created where the object to be maintained ,how long the object to be maintained,object to communicate to all the client/unique to client
1.If it is model by value server application will create an object and object will be transmitted to client application.In this case method call's execution will be in client system.The method execution can not access server side resource like database
2.If it is Marshal by Reference the object will be maintained by server app and reference will be maintained by client system,In this case method call,s the execution will be on server system,This allows accessing Resources
3.Client application making a request to method will create object in server application is called "SAO{server activated Object]"
4.If it is single ton Object,The object will be maintained by server application for serving to other clients,This provides application level state maintaining data common to all the clients.The timeout of single to object is 5 min by default
5.Client application making a call using "New" operator or create instance method of activator class will create an object with in server application is called "Client Activation Object"
6.CAO will maintain data unique to client
1.If it is model by value server application will create an object and object will be transmitted to client application.In this case method call's execution will be in client system.The method execution can not access server side resource like database
2.If it is Marshal by Reference the object will be maintained by server app and reference will be maintained by client system,In this case method call,s the execution will be on server system,This allows accessing Resources
3.Client application making a request to method will create object in server application is called "SAO{server activated Object]"
4.If it is single ton Object,The object will be maintained by server application for serving to other clients,This provides application level state maintaining data common to all the clients.The timeout of single to object is 5 min by default
5.Client application making a call using "New" operator or create instance method of activator class will create an object with in server application is called "Client Activation Object"
6.CAO will maintain data unique to client
No comments:
Post a Comment