230 likes | 378 Views
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
E N D
Java Mobile Agents with Aglets End of studies report Responsible : M. Logothetis ERASMUS Exchange
Plan • Environment • Project subject • ASDK • Examples • Conclusion
Environment • ERAMUS Exchange • Patras University • Electrical & Computer Engineering Department • Wire Communication Laboratory • New working environment
Subject • Developing some examples to demonstrate Aglet utility • Study of aglet process • Examples implementation
Aglets What’s Mobile Agent? Why? Applications Aglets Software Development Kit
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.
Why Mobile Agent? • Reduce the network load • Execute asynchronously and autonomously • Can evolve in heterogeneous environment • Robust and fault-tolerant
Applications • Electronic commerce • Telecommunications (ex : routers auto configurable) • Workflow applications • Parallel processing • Network administration
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
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
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
Examples Subscribe Service Network Administration
Subscribe Service(1) • Obtain URL List of Tahiti Servers on the network (LAN, Internet) • Base on Master-Slave pattern
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)
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
Conclusion • Environmental aspects • Very interesting to discover a new culture • New landscape • Technical aspects • Discovery Mobile Agents • Java use