simulating transparent migration in java java doesn t
play

Simulating Transparent Migration in Java Java doesnt provide - PowerPoint PPT Presentation

Simulating Transparent Migration in Java Java doesnt provide transparent migration. non transparent programm as if mymethod(int x) mymethod() { { if ( x==1) Use code instrumentation go() go() if ( x==2) } } save local


  1. Simulating Transparent Migration in Java Java doesn’t provide transparent migration. non transparent programm “as if ” mymethod(int x) mymethod() { { if ( x==1) Use code instrumentation go() go() if ( x==2) } } save local variable values on demand only for all methods currently on stack MigrateException Stefan Fünfrocken, Darmstadt University of Technology WETICE’97 Slide 13

  2. The Big Picture Web-Server HTTPD Request SAE Realm Manager SAE Realm SAE Agent Resource Manager Security Scheduler Manager Response Request Manager Manager Security Manager read write Content CGI Agent Manager Manager Manager SAE Agent read start Comm Manager Agent write execute restart Manager Agent read Document Manager write execute WWW Data Interface Agent WWW Data Interface Web Server Data File Database Agent File System GUI Stefan Fünfrocken, Darmstadt University of Technology WETICE’97 Slide 12

  3. Contact Stefan Fünfrocken Alexanderstrasse 6 64283 Darmstadt Germany fuenf@informatik.th-darmstadt.de http://www.informatik.th-darmstadt.de/~fuenf Tel: (+49) 6151- 16 5411 Fax: (+49) 6151- 16 3052 Stefan Fünfrocken, Darmstadt University of Technology WETICE’97 Slide 11

  4. For the Future right now: • basics are working • security architecture • SAE-Jigsaw resource Java Security API • Java transparent migration simulation Java Crypto API Java E-Commerce API future steps: • more sophisticated agents (simple services) • service creator support • graphical agent programming tool • agent components • service specification language • real service scenarios and agents Stefan Fünfrocken, Darmstadt University of Technology WETICE’97 Slide 10

  5. Security • encryption, authentication for network communication • agent migration • agent - agent GUI • controlled access to local data • no native Java IO methods (SecurityManager) • special agent data interface (WWW DataInterface) • file names confirm to local URLs • fine grain realms • user authorization for user data • no native references between agents • agent capabilities (general and local) • Net of trusted SAEs (certified public keys) Stefan Fünfrocken, Darmstadt University of Technology WETICE’97 Slide 9

  6. Web Agent Communication Agent - User: •using Agent GUI (Applet) Web Browser •different views (User/Super user) Agent 1 GUI •extendable ‘on-the-fly’ Agent - Agent: Request •using SAE Communication Manager Connection Stream •Streams from/to other agent Conn. •no references Comm. •known agents only Manager Agent - Agent GUI: Req. Conn. •using SAE Communication Manger Agent 1 Agent 2 •Streams from/to agent GUI SAE Stefan Fünfrocken, Darmstadt University of Technology WETICE’97 Slide 8

  7. Web Agent Startup • User sends start-request Web Browser http://<host>/<path>/agent.agt • Server asks SAE to start agent Agent • SAE loads and starts agent Start GUI • agent may send its GUI: Req. Resp. Web Server •generated HTML page •agent GUI applet redirect HTML SAE • user configures agent Agent • agent begins to work Agent GUIs • migrate to remote servers Agent load • return and present results to user Agent Code Stefan Fünfrocken, Darmstadt University of Technology WETICE’97 Slide 7

  8. WASP Infrastructure for Web Agents • Java based system ( JDK 1.1.2 ) Web Browser • HTTP server Normal • standard Web server functionality Agent Request Related • redirects agent related requests Web Server • Server Agent Environment (SAE) • load / start / migrate agents redirect • restrict access to local resources • plug-in for Web servers SAE CGI-BIN HTML • Web agents Agent • multiple GUIs GUIs Agent • functional part Server Data Stefan Fünfrocken, Darmstadt University of Technology WETICE’97 Slide 6

  9. The WASP Project W eb A gent based S ervice P roviding: • Overall goal: In search for well-suited mobile agent application areas • Our scenario: • (subscription) services on WWW-data • service implementation by using mobile agents (Web Agents) • the agent is the service • Long-term: • support for service creators • agent creation (reusable agent components, graphical agent builder) • service organization (advertising, installation, accounting, maintenance) • Short-term: • infrastructure for Web agents • special mobile agent system Stefan Fünfrocken, Darmstadt University of Technology WETICE’97 Slide 5

  10. =Web server Web server Data Server Agent Data Env. Data Web server Web server Data Web server Data

  11. Agent Scenario Agent place Network Agent Stefan Fünfrocken, Darmstadt University of Technology WETICE’97 Slide 3

  12. Outline — WASP Project — WASP Infrastructure for Mobile Agents — Web Agent • Startup Scenario • Communication — Security — Outlook Stefan Fünfrocken, Darmstadt University of Technology WETICE’97 Slide 2

  13. Darmstadt University of Technology Germany How to Integrate Mobile Agents into Web Servers Stefan Fünfrocken fuenf@informatik.th-darmstadt.de

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend