Distributed Application, Using 'net Remoting, - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

Distributed Application, Using 'net Remoting,

Description:

Distributed Application, Using .net Remoting, & C#, DCOM, EJB. By Salem, Ray M. ... All processing of the objects occurs on the server side. ... – PowerPoint PPT presentation

Number of Views:60
Avg rating:3.0/5.0
Slides: 16
Provided by: kahun
Category:

less

Transcript and Presenter's Notes

Title: Distributed Application, Using 'net Remoting,


1
Distributed Application, Using .net Remoting,
C,
  • DCOM, EJB
  • By Salem, Ray M.

2
Structure of .Net Remoting
  • Channel
  • Formatter
  • messages
  • Proxy
  • Objects
  • Soap

3
(No Transcript)
4
Roaming Objects
  • Marshal Objects
  • By Value or Reference
  • Server Activated Objects(SAO)
  • akaWell Known Objects
  • Client Activated Objects(CAO)

5
Marshal By Value
  • The object is stored in the client memory space.

6
Marshal Object by Value
Server
Client
Object C
7
Marshal By Reference
  • Clients access the object by reference.
  • A proxy is created between the server and client.
  • All processing of the objects occurs on the
    server side.
  • Minimizes Client resource and processing
    consumption.

8
Marshal Object by Reference
Server
Client
Object C
Proxy C
9
Server Activated Object
  • Client must know the endpoint URI.
  • State less objects.
  • Singleton
  • Single-Call

10
Singleton
  • A single object is instantiated on the server.
  • All clients share the common object, by
    reference.
  • Clients share common data.
  • Data must be synchronized, so that read/write do
    not occur simultaneously.
  • The object holds a state that is shared with all
    clients.

11
Singleton
Client
Server
Proxy C
Object B
Client
Proxy C
12
Singlecall
  • The object is instantiate for every method call.
  • Synchronization is not a problem.

13
Single Call
Client
Server
Proxy C
Object C
Client
Proxy C
14
Client Activated Objects
  • Uri is not specified, Since every instantiated
    object must have a different URI.
  • CAO object, hold a state that is relative to the
    client.

15
Client activated Object
Client
Server
Proxy B
Object B
Client
Object B
Proxy B
Write a Comment
User Comments (0)
About PowerShow.com