With the release of Scala 2.9.0, the Typesafe Stackwas also announced, which combines the Scala language with the Akka framework. Now, though Scala has actors in its standard library, Akka uses its ow
The only thing I\'ve seen so far is someone posting an example of testing a TypedActor. I take it there\'s no way of testing an UntypedActor through say Junit? Akka docs are getting开发者_开发技巧 bet
I put together the code below; the intent was to have a non-blocking server accept a connection and then pass off this connection to an actor for further processing. This works the first time through,
As it\'s said in the comments, Combinatiors.loop of the standard actors library is intended to save you from stack overflows, when the body of an actor is repeatedly executed.
I try to implement a TypedActor in Java following the examples on Typed Actors (Java). But I\'m struggling. I have added akka-actor-1.1-M1.jar, akka-typed-actor-1.1-M1.jar, scala-library.jar but it wa
Hi I am using scala(2.8.1) to implement a time-consuming task handler using actor, however, I am not able to clean it up when running my unit tests, so my unit tests hung forever.
In another language, I have had something call itself with the new state to maintain it but I don\'t see how to do that with scala actors. Something like this is how I would envision this:
Sample code below. I\'m a little curious why MyActor is faster than MyActor2. MyActor recursively calls process/react and keeps state in the function parameters whereas MyActor2 keeps state in vars. M
I use actors whenever I need to run two threads concurrently. I don\'t ever use threads explicitly. someone told me that act开发者_开发技巧ors are quite heavy and it is not always a good idea to use
Is it possible to catch an exception raised within behaviour? Where to place the try/catch? I know that react uses exceptions to开发者_开发问答 reuse the same thread for different actors and that´s w