Hi Amit,
On Thu, Dec 26, 2013 at 3:26 PM, Amit Mula <[email protected]> wrote: > Hi Patrik, > > I am trying out the sample "Distributed workers with Akka and Java" given > here : > http://typesafe.com/activator/template/akka-distributed-workers-java > > I have a simple query, which may sound a bit stupid : > Here we are creating the same actor system with the name "Workers" from > different parts like startBackend(), startFrontend(), startWorker() > > ActorSystem system = ActorSystem.create("Workers", conf); > > is there in all three methods which are being called from main() in > sequence. I want to know, if the an actor system can be reinitialized > multiple times in a JVM? > Every call to ActorSystem.create will create a completely new actor system instance -- there is no reinitialization, they are all different entities. > Hows its processed internally? Or its a difference instance of the actor > system residing parallel to other actor systems with the same name in the > same JVM > The latter. There is no registry of the actor systems, you are free to create as many systems as you like with whatever names you want -- but of course you should avoid systems with the same name. -Endre > > Also help me understand the description of the create method : > > > <https://lh6.googleusercontent.com/-VNYoan8EpKc/Urwym--uYPI/AAAAAAAABIw/R01BQ9I4tGY/s1600/Untitled.png> > > Kind regards > Amit > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: http://akka.io/faq/ > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/groups/opt_out. > -- Akka Team Typesafe - The software stack for applications that scale Blog: letitcrash.com Twitter: @akkateam -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: http://akka.io/faq/ >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/groups/opt_out.
