There are different concurrency and parallelism models in java as given below.
- Thread per request
- Thread Pool
- Distributed thread Pool
- Fork Join
- Actor model
For Thread Pool, Distributed thread Pool and Fork Join frameworks we use ThreadPoolExecutor (java.util.concurrent package) ,IExecutorService (Hazelcat) and ForkJoinPool (java.util.concurrent package).
Is there any Class available in Java that we can use for Actor frameworks. i.e just importing the Actor framework's Class and passing Runnable objects to the framework and get work done. I have read tutorials on Akka, Scala etc but i want to know about a simple way of using a Class that can receive my Runnable tasks and execute the tasks by using Actor Framework.