12.07.2015 Views

Migration of a Chosen Architectural Pattern to Service Oriented ...

Migration of a Chosen Architectural Pattern to Service Oriented ...

Migration of a Chosen Architectural Pattern to Service Oriented ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 3. <strong>Architectural</strong> <strong>Pattern</strong>s 56Component 1Connec<strong>to</strong>r 1Component 2 Component 3Connec<strong>to</strong>r 2Component 4Figure 3.21: Example usage <strong>of</strong> C2 patternoperation on the system. Client encapsulates own logic and a server proxy.Server– provides logic <strong>of</strong> the system.Logic– - logic <strong>of</strong> a clientProxy– wraps functionality <strong>of</strong> the server and allows logic <strong>of</strong> a client <strong>to</strong> invokefunctionality <strong>of</strong> the server as a functionality <strong>of</strong> own local object.Relationships – a user invoking operation on the client invokes serverswithout knowing it. Clients invoke servers, but the servers cannot invokeclients. Client contains its logic and proxy <strong>of</strong> a server. The logic can invokeproxy. Proxy can invoke server (see figure 3.23). Other invocations are notpossible.19. Implicit Invocation

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!