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

Java Mobile Agents with Aglets

  • Upload
    heath

  • View
    40

  • Download
    0

Embed Size (px)

DESCRIPTION

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 - PowerPoint PPT Presentation

Citation preview

Page 1: Java Mobile Agents with Aglets

Java Mobile Agents with Aglets

End of studies reportResponsible : M. Logothetis

ERASMUS Exchange

Page 2: Java Mobile Agents with Aglets

Plan Environment Project subject ASDK Examples Conclusion

Page 3: Java Mobile Agents with Aglets

Environment ERAMUS Exchange Patras University

Electrical & Computer Engineering Department

Wire Communication Laboratory

New working environment

Page 4: Java Mobile Agents with Aglets

Subject Developing some examples to

demonstrate Aglet utility Study of aglet process Examples implementation

Page 5: Java Mobile Agents with Aglets

Aglets

What’s Mobile Agent?Why?

ApplicationsAglets Software Development

Kit

Page 6: Java Mobile Agents with Aglets

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

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

Applications Electronic commerce Telecommunications (ex : routers

auto configurable) Workflow applications Parallel processing Network administration

Page 9: Java Mobile Agents with Aglets

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

Architecture (1)

Page 11: Java Mobile Agents with Aglets

Architecture (2)

Page 12: Java Mobile Agents with Aglets

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

Life cycle

Page 14: Java Mobile Agents with Aglets

Mobility

Page 15: Java Mobile Agents with Aglets

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

Examples

Subscribe ServiceNetwork Administration

Page 17: Java Mobile Agents with Aglets

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

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

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

Network Administration(2)

Page 21: Java Mobile Agents with Aglets

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

Questions ?