Skip to content

opencredo/akka-java8-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

akka-java8-example

Sample code related to the blog post https://opencredo.com/improved-akka-java-8/

A few, very simple examples of using Akka Java 8 interface. Implementing a bar (customer-barista interaction).

Running examples

mvn package exec:java -P simple

The simplest implementation using a simple AbstractActor

Not much interaction is expected. Press Ctrl-C to stop the application

mvn package exec:java -P become

A barista actor that becomes ready when the coffee machine is warmed up.

mvn package exec:java -P future

Implementation using CompletableFuture

About

Simple examples of using Akka Java 8 interface

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages