Konrad, Thanks a lot again for your brief insights :) We are in poc stage this will help us in deciding next steps.
There is always a confusion scala or java? You read tons of Articles, but will end up with mixed responses. I personally like scala for the reasons you mentioned. We want to work with eventsourcing, it is vey important for us to understand, whether java or scala actors, execution/performance/behaviour will not differ. -prakhyat m m Sent from my iPhone > On 13-Sep-2014, at 21:55, Konrad Malawski <[email protected]> wrote: > > Hi Prakhyat, > "It depends". > > We provide APIs for everything in both Java and Scala. > > >> Is it better to create actor system or actors in scala or java? > There is no "better" as it depends on your team, their skills and willingness > to learn. > I do think it's worth to get over the initial learning curve of Scala to reap > the benefits it provides (far less boilerplate, easier to abstract things > away etc). > > >> What are the difference's between actors created in java over actors created >> from scala? > Of the actors? None. > Akka is a library. You can tell to an Actor implemented in Java from an Actor > implemented in Scala etc. > > Scala's language features make implementing Actors far less verbose (Java8 is > catching up, but still does not offer the exact same level of conciseness). > >> Will dispatcher's behavior(remote,io,cluster,others dispatcher) vary in java >> and scala? > In runtime it's all bytecode anyway. > Akka is the same library - no matter from which language you use it - and we > happen to implement most things using Scala. > >> Also do we see any difference in event sourcing(akka persistence) behavior >> when used with java or scala? > See previous answers. > > > Decide based on if you're up to learning Scala (I do think it's completely > worth it). > But from Akka's perspective it doesn't change any semantics – we're a > library, any JVM language should be able to use Akka (JRuby too ;-)). > > -- > Cheers, > Konrad 'ktoso' Malawski > hAkker @ Typesafe > > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: > >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to a topic in the Google > Groups "Akka User List" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/akka-user/1k3JedN0p7w/unsubscribe. > To unsubscribe from this group and all its topics, 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/d/optout. -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> 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/d/optout.
