1 / 22

Java Mobile Agents with Aglets

Java Mobile Agents with Aglets. End of studies report Responsible : M. Logothetis ERASMUS Exchange. Plan. Environment Project subject ASDK Examples Conclusion. Environ m ent. ERAMUS Exchange Patras University Electrical & Computer Engineering Department Wire Communication Laboratory

heath
Télécharger la présentation

Java Mobile Agents with Aglets

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Java Mobile Agents with Aglets End of studies report Responsible : M. Logothetis ERASMUS Exchange

  2. Plan • Environment • Project subject • ASDK • Examples • Conclusion

  3. Environment • ERAMUS Exchange • Patras University • Electrical & Computer Engineering Department • Wire Communication Laboratory • New working environment

  4. Subject • Developing some examples to demonstrate Aglet utility • Study of aglet process • Examples implementation

  5. Aglets What’s Mobile Agent? Why? Applications Aglets Software Development Kit

  6. What’s Mobile Agent? • Agent that can move from one host on the Internet to another. • Agent that executes on one host can suddenly halt execution, dispatch itself to a remote host, and resume execution here. • It moves with its code and its data.

  7. Why Mobile Agent? • Reduce the network load • Execute asynchronously and autonomously • Can evolve in heterogeneous environment • Robust and fault-tolerant

  8. Applications • Electronic commerce • Telecommunications (ex : routers auto configurable) • Workflow applications • Parallel processing • Network administration

  9. Aglets Software Development Kit • Project initiated by IBM began in 1995 • Continue by research team under IBM public licence in 2000 • Implementation in Java • Last Release 2.0.2 in February 2002

  10. Architecture (1)

  11. Architecture (2)

  12. Communication • All messages transit by proxy to isolate aglet with the network • 3 kinds of messages: • Asynchronous without any awaited answer • Synchronous with answer • Asynchronous with answer

  13. Life cycle

  14. Mobility

  15. Security • All authorisations are managed by Java 2, with the file « .java.policy » • Authorisation on the Class • Authorisation on the hosts • Authorisation on the disk accesses • We can delete the authorisation control in Tahiti Server

  16. Examples Subscribe Service Network Administration

  17. Subscribe Service(1) • Obtain URL List of Tahiti Servers on the network (LAN, Internet) • Base on Master-Slave pattern

  18. TimerAglet 1 SendMessage() - Wakeup HostDeclareMaster HostDeclareMessager 2 SendMessage() – URL List 6 3 SendMessage() – Subscribe IP 4 AgletDB HostDeclareMessager 5 SendMessage() – URL List Subscribe Service(2)

  19. Network Administration(1) • Obtain the content listing on the disk C: on the remote hosts which subscribed • Base on the Master-Slave pattern • Generate HTML report

  20. Network Administration(2)

  21. Conclusion • Environmental aspects • Very interesting to discover a new culture • New landscape • Technical aspects • Discovery Mobile Agents • Java use

  22. Questions ?

More Related