Download presentation
Presentation is loading. Please wait.
Published byMaurice Goodman Modified over 9 years ago
1
Aglets Based on Mobile Agents with Java: The Aglet API by Danny B. Lange and Mitsuru Oshima
2
Their Definition of Agent n A software object n Mandatory properties –reactive –autonomous –goal-driven –temporally continous
3
Seven Good Reasons (I) n Reduce network load through mobility n Overcome network latency n Encapsulate protocols -- dealing with legacy systems n Execute asynchronously and autonomously
4
Seven Good Reasons (II) n Adapt dynamically n Naturally heterogeneous n Robust and fault-tolerant –can find better hosts –can distribute tasks –work redundantly
5
Pos. Agent Chars. of Java (I) n Platform independent n Secure execution –no illegal type casting –no pointer arithmetic –byte code is checked before execution n Dynamic class loading n Multithread programming –synchronization primitives
6
Pos. Agent Chars. of Java (II) n Object serialization n Reflection
7
Neg. Agent Chars. of Java (I) n No resource control –CPU cycles –memory –GUI handles n No protection of references –access to public methods –proxy
8
Neg. Agent Chars. of Java (II) n No object ownership of references –garbage collection –memory, GUIs not released –agent kept alive against its will (with reference to agent) n No support for preservation and resumption of execution state –no access to virtual machine, program counter, etc.
9
Basic Concepts of Aglets n Aglet n Proxy n Context n Message –synchronous and asynchronous n Future reply n Identifier
10
Basic Operation on Aglets n Create n Clone n Dispatch n Retract n Activate and deactivate n Dispose n Send and receive messages
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.