Infrastructure, Model, Approach
The Shared Canvas PlugIn is implemented based in layered architecture, allowing separate business logic from the logic of design. Specifically, it has 2 layers: Browser representing the presentation layer and jWebSocket Server representing Business Layer. Figure 1.
The Shared Canvas PlugIn used the design pattern Observer, which allows you to send a token to all users connected to the application when a user performs a new action, then the Shared Canvas Demo is updating and all users connected can see the changes.
Shared Canvas PlugIn was developed using TokenPlugin. This is a lower-level structure where if you do not have many features and is easy to process messages, it is best to use since the application will benefit from increased performance.
Copyright © 2012 Innotrade GmbH. All rights reserved.