Upload
evangeline-sullivan
View
220
Download
0
Embed Size (px)
DESCRIPTION
Environment ERAMUS Exchange Patras University Electrical & Computer Engineering Department Wire Communication Laboratory New working environment
Citation preview
Java Mobile Agents with Aglets
End of studies reportResponsible : 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?
ApplicationsAglets 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
Architecture (1)
Architecture (2)
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
Life cycle
Mobility
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 ServiceNetwork Administration
Subscribe Service(1) Obtain URL List of Tahiti Servers on
the network (LAN, Internet) Base on Master-Slave pattern
Subscribe Service(2)
SendMessage() – Subscribe IP
4HostDeclareMessagerAgletDB
2
6
5
1
3
HostDeclareMaster
TimerAglet
HostDeclareMessager
SendMessage() - Wakeup
SendMessage() – URL List
SendMessage() – URL List
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
Network Administration(2)
Conclusion Environmental aspects
Very interesting to discover a new culture
New landscape Technical aspects
Discovery Mobile Agents Java use
Questions ?