To act or not to act? Using actors in your Java apps
JenniAloi 120000JEBE Visits (875)
You've probably heard about actors -- possibly even here, as we've covered a number of Java-based actor implementations on the Java zone in the past few years. With the advent of functional languages such as Scala and Groovy, as well as Java-based implementation libraries and frameworks, actors, which provide an increasingly popular and necessary alternative to traditional Java concurrency, have come into their own on the Java platform.
If your interest is piqued enough to explore a little further, you're in luck. First, read this new article about a new actor library from contributor Barry Feigenbaum. The library, aptly called muJavaActors for its modest size, allows for highly parallel execution on the Java platform. The article includes hands-on examples using actors for Java standby patterns like Command, Producer/Consumer, and Map/Reduce, along with a video that demonstrates the library in action.
Once you've caught the actor bug, be sure to review the Actor concurrency for Java applications knowledge path to explore actors in more detail. You'll hear Carl Hewitt explain everything you ever wanted to know about actors, read a variety of articles on a range of actor implementations, and download a number of tools for actor concurrency.