Giter VIP home page Giter VIP logo

learning-akka's People

Contributors

frank-leap avatar gorskima avatar jasongoodwin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

learning-akka's Issues

SClientIntegrationSpec doesn't run twice

The default implementation of the SClientIntegrationSpec class gives an error if we try to run the tests twice. (port already in use).

The default template from giter8 uses TestKit and BeforeAndAfterAll to cleanly close the test class after execution. Why not use those?

Typo in "Creating an actor"

Hi, I've been reading the book on Safari Online. It's fantastic!
In section "Creating an actor" of Chapter 2, seems "variable lengle list" in the first paragraph of "Props" should be "variable length list".
image

Thanks.

Trouble getting akka remoting to start

I'm trying to run your code without activator. It works if I run it with sbt publishLocal and sbt run as downloaded. When I copy your build.sbt and src/ directory to another project akka remoting doesn't start. I've also added the activator and activator-launch-1.2.10.jar file but that makes no difference.

What else do I need to get this to work without activator?

code error

  1. .java not found
    learning-akka/ch6/akkademaid-java/src/main/java/com/akkademy/AkkademyDb.java
    [
    import com.akkademy.japi.GetRequest;
    import com.akkademy.japi.KeyNotFoundException;
    import com.akkademy.japi.SetRequest;
    ] not found

  2. file content:
    learning-akka/ch6/akkademaid-java/build.sbt
    name is [akkademy-db-scala]

Questions for the code example on page 112

Hey, I just went through this and for the code example on page 112:

public void postStart() {
    self().ask(new Connect(), null);
}

override def postStart = self ! connect

Shouldn't it be:

public void preStart() {
    self().tell(new Connect(), null);
}

override def preStart = self ! connect

I don't find postStart as an akka method that we can override. And the java code should use tell instead of ask.
Is it a typo or am I missing anything?

Thanks

Chapter 2: Status.Failure usage

Hi,
In the chapter 2, AkkademyDb class, we have two different syntaxes for the same pattern (sending a failure message to the sender)

case None => sender() ! Status.Failure(new KeyNotFoundException(key))
and
case o => Status.Failure(new ClassNotFoundException)

Why do we user sender() ! in the first example and not the second? Is there any difference? Does it matter?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.