Presentation is loading. Please wait.

Presentation is loading. Please wait.

Active Objects Based Application over Grid Environment Rares Barbantan, Dorian Gorgan Computer Science Department, Technical University of Cluj-Napoca.

Similar presentations


Presentation on theme: "Active Objects Based Application over Grid Environment Rares Barbantan, Dorian Gorgan Computer Science Department, Technical University of Cluj-Napoca."— Presentation transcript:

1 Active Objects Based Application over Grid Environment Rares Barbantan, Dorian Gorgan Computer Science Department, Technical University of Cluj-Napoca

2 GridCAD2006, Timisoara, 28 September 20062 Contents Objectives Active Objects Model Framework Architecture Client module Web service Observer module Model Execution Testing Conclusions

3 GridCAD2006, Timisoara, 28 September 20063 Objectives Propose a distributed model flexible and extendible enough to be able to simulate any type of system from the real world Use web services in a grid Provide a 3D visualization of the system

4 GridCAD2006, Timisoara, 28 September 20064 Active Objects Model The main abstraction of the model is the active object or alive object (aliob) An aliob has some attributes and a behavior During the execution of its behavior, another aliob’s attributes or even behavior can be changed Communication is done through message passing

5 GridCAD2006, Timisoara, 28 September 20065 Active Objects Model (contd.) Rule Action Aliob Behavior Trajectory Attribute Behavior Processor Server Processor Presentation Processor Model Server Processor Etp

6 GridCAD2006, Timisoara, 28 September 20066 Framework Architecture Communication messages Communication messages Communication messages Communication messages Presentation update Client Web service Observer

7 GridCAD2006, Timisoara, 28 September 20067 Client module BehaviorProcessor implements the behavior ServerProcessor is delegated to perform any operations on itself ModelServerProcessor is delegated to perform operations on global entities and to send messages to remote objects

8 GridCAD2006, Timisoara, 28 September 20068 Client module (contd.)

9 GridCAD2006, Timisoara, 28 September 20069 Web Service Web Service Resource Framework Provides communication facilities between clients Behaves like a postal office Resources are like mailboxes

10 GridCAD2006, Timisoara, 28 September 200610 Web Service (contd.) WSRF functionalities are used, like: Factory pattern Resource Home Notifications Expiring lease of resources

11 GridCAD2006, Timisoara, 28 September 200611 Web Service (contd.) Client Factory Service EndpointReference createResource() Instance Service void sendMessage(String msg) void setHostName(String msg) Resource Home Resource String message String hostName Requests resource creation Requests that an operation be performed on a specific resource Uses the resource home to create resources Uses the resource home to find resources manages setHostName() operates on the resource properties contained in the resource

12 GridCAD2006, Timisoara, 28 September 200612 Web service (contd.) Each client has a resource allocated to it ~ mail box The service sends the incoming messages for some objects to the mail box with which they are registered The client is notified and it retrieves its messages

13 GridCAD2006, Timisoara, 28 September 200613 Observer module Visualization of processes on the grid Zooming interface Active objects management : start, stop, pause Visualization of a model or object’s 3D presentation

14 GridCAD2006, Timisoara, 28 September 200614 Observer module (contd.)

15 GridCAD2006, Timisoara, 28 September 200615 Model Execution BehaviorProcessor Cloud Web Service ServerProcessor ModelServerProcessor BehaviorProcessor ServerProcessor ModelServerProcessor Environment Observer

16 GridCAD2006, Timisoara, 28 September 200616 Testing was done using JUnit The web service handles a large number of requests ~ /s The number of supported objects on the network is virtually unlimited ~ /client Testing results 40 2000

17 GridCAD2006, Timisoara, 28 September 200617 Conclusions & Future development Implementation of interactors Imposing the unique name restriction only inside the model Automate client distribution using grid services Extending the 3D presentation

18 GridCAD2006, Timisoara, 28 September 200618 Thank you! Any questions ?


Download ppt "Active Objects Based Application over Grid Environment Rares Barbantan, Dorian Gorgan Computer Science Department, Technical University of Cluj-Napoca."

Similar presentations


Ads by Google