The active object design pattern decouples method execution from method invocation for objects that each reside in their own thread of control. The goal is to introduce concurrency, by using asynchronous method invocation and a scheduler for handling requests.
Contents
The pattern consists of six elements:
Java
An example of active object pattern in Java.
Java 8 (alternative)
Another example of active object pattern in Java.
References
Active object Wikipedia(Text) CC BY-SA