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

Post on 19-Jan-2018

219 views 0 download

description

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

transcript

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 ?