Active Object
Upcoming SlideShare
Loading in...5
×
 

Active Object

on

  • 3,695 views

Presentation on the Active Object pattern given by David Kemp at the Melbourne Patterns group.

Presentation on the Active Object pattern given by David Kemp at the Melbourne Patterns group.

Statistics

Views

Total Views
3,695
Views on SlideShare
3,666
Embed Views
29

Actions

Likes
0
Downloads
40
Comments
0

2 Embeds 29

http://www.slideshare.net 18
http://melbournepatterns.org 11

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Active Object Active Object Presentation Transcript

  • Active Object By R. G. Lavender and D. C. Schmidt. Presented by David Kemp Melbourne Patterns Group
  • Active Object
    • R. G. Lavender and D. C. Schmidt, Active Object , Pattern Languages of Program Design 2, 1996
    • The Active Object design pattern decouples method execution from method invocation to enhance concurrency and simplify synchronized access to an object that resides in its own thread of control.
  • Object diagram
  • See code example http://code.google.com/p/davidbkemp-activeobject/
  • Variants
    • Integrated Scheduler (combine proxy, scheduler, and servant).
    • Distributed Active Object (remote proxy).
    • Thread pool (multiple servants).
  • Example variation: multiple servants
  • Consequences
    • Enhance application concurrency and simplify synchronization complexity.
    • Transparently leverage available parallelism.
    • Method execution order can differ from method invocation order.
    • Performance overhead.
    • Complicated debugging.
  • Resources
    • http://en.wikipedia.org/wiki/Active_Object
    • R. Greg Lavender Douglas C. Schmidt, Active Object , Pattern Languages of Program Design 2, 1996.
    • http://www.cs.wustl.edu/~schmidt/PDF/Act-Obj.pdf
    • http://code.google.com/p/davidbkemp-activeobject