Blog Archives

06: Simple Akka remoting tutorial in Java – producer & consumer

This tutorial extends the previous tutorial Simple Akka tutorial in Java step by step. This tutorial is all about remote actors. In other words, inter process communication. The “ProducerMain.java” and “ConsumerMain.java” run as different processes in host “127.0.0.1” on ports 5225 & 2552 respectively. The protocol used to communicate is…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in Akka Java Tutorial, member-paid

05: Akka tutorial in Java – calculating the factorials concurrently

This tutorial extends the previous tutorial Simple Akka tutorial in Java step by step. This is a non trivial example of calculating the factorial for a range of numbers in parallel. Step 1: The main class “FactorialCalculatorMain.java” takes a range: start and end as input arguments, and constructs an “Input.java”…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in Akka Java Tutorial, member-paid

04: Akka tutorial “tell-tell” request – response pattern in Java

This tutorial extends the previous tutorial Simple Akka tutorial in Java step by step and Akka tutorial “ask” request – response pattern in Java. Step 1: The “Producer.java” is an actor now. It receives messages from both “ProducerConsumerMain.java”, which is a “DeadLetterActorRef” and the “Consumer.java”, which is an actor.

…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in Akka Java Tutorial, member-paid

03: Akka tutorial “ask” request – response pattern in Java

This tutorial extends the previous tutorial Simple Akka tutorial in Java step by step to apply the Ask pattern. Tell is a “Fire-and-Forget” pattern, and whereas an “ask” sends a message with a Future for the response. Request-Response pattern in Akka with “Ask” Step 1: The “Producer.java” using the “ask”…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in Akka Java Tutorial, member-paid

02: Simple Akka tutorial in Java with 2 Actors

This tutorial extends the previous tutorial Simple Akka tutorial in Java step by step to use multiple actors. Let’s have two different actors to handle odd and even numbers respectively. We will also print the thread names. Step 1: Actor “ConsumerOfOddNumbers.java” that runs on the “actor.default-dispatcher-xx” thread.

Step 2:…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Companion, 90-Day-Java-JEE-Career-Companion, 180-Day-Java-JEE-Career-Companion, 365-Day-Java-JEE-Career-Companion and 2-Year-Java-JEE-Career-Companion Log In | Register | Try free FAQs | Home
Posted in Akka Java Tutorial, member-paid

01: ♥ Simple Akka tutorial in Java step by step

Why use Akka? Akka handles all of the underlying threading complexities by allowing you to just focus on dividing your tasks into actors, defining messages to pass among actors, and wiring together their communication logic. The real power of Akka is realized when you distribute actors across multiple machines. You

Read more ›

Posted in Akka Java Tutorial

800+ Interview Q&As – ♥ Free | ♦ FAQs

open all | close all

Pressed for time? 200+ Quick Prep

open all | close all

16 Technical Key Areas to be a top-notch

open all | close all

100+ Java Tutorials – Step by step

open all | close all

100+ Java Coding Exercises

open all | close all

How good are your

open all | close all