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

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

description

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

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

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

Java Mobile Agents with Aglets

End of studies reportResponsible : M. Logothetis

ERASMUS Exchange

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

Plan Environment Project subject ASDK Examples Conclusion

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

Environment ERAMUS Exchange Patras University

Electrical & Computer Engineering Department

Wire Communication Laboratory New working environment

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

Subject Developing some examples to

demonstrate Aglet utility Study of aglet process Examples implementation

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

Aglets

What’s Mobile Agent?Why?

ApplicationsAglets Software Development

Kit

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

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.

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

Why Mobile Agent? Reduce the network load Execute asynchronously and

autonomously Can evolve in heterogeneous

environment Robust and fault-tolerant

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

Applications Electronic commerce Telecommunications (ex : routers

auto configurable) Workflow applications Parallel processing Network administration

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

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

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

Architecture (1)

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

Architecture (2)

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

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

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

Life cycle

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

Mobility

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

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

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

Examples

Subscribe ServiceNetwork Administration

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

Subscribe Service(1) Obtain URL List of Tahiti Servers on

the network (LAN, Internet) Base on Master-Slave pattern

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

Subscribe Service(2)

SendMessage() – Subscribe IP

4HostDeclareMessagerAgletDB

2

6

5

1

3

HostDeclareMaster

TimerAglet

HostDeclareMessager

SendMessage() - Wakeup

SendMessage() – URL List

SendMessage() – URL List

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

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

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

Network Administration(2)

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

Conclusion Environmental aspects

Very interesting to discover a new culture

New landscape Technical aspects

Discovery Mobile Agents Java use

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

Questions ?