Re: [jruby-user] Scala/Akka and JRuby
Mike Luu <[email protected]>
| Newsgroups | gmane.comp.lang.jruby.user |
|---|---|
| Message-ID | <[email protected]> |
I haven’t tried it myself. However, it seems all you would need to do is implement the Bootable interface. http://doc.akka.io/japi/akka/2.2.4/index.html?akka/kernel/Bootable.html Cheers, Mike On Oct 6, 2014, at 8:33 AM, Alexander Fitterling <[email protected]> wrote: > Mike, it works. Do you know if I can use akkas microkernel as well? > kind regards, > Alex > > Am 05.10.2014 um 22:38 schrieb snacktime <[email protected]>: > >> Yes you can have jruby parent actors that have scala or java children and visa versa. >> >> Scala classes compile to java bytecode. You access scala classes just like java classes for the most part. Here is some info from the jruby docs on the subject. >> >> https://github.com/jruby/jruby/wiki/Integrating-with-Scala >> >> >> >> On Sun, Oct 5, 2014 at 5:04 AM, Alexander Fitterling <[email protected]> wrote: >> Mike, >> thank you. >> Am I able to run a parent actor on jruby and implement all child actors in scala? so as they still would share the same environment? >> Secondly: I was seeking informations on how to run scala code at all from jruby. Couldn't find something. Are there any hints? >> kind regards, >> Alex >> >> Am 01.10.2014 um 18:43 schrieb Mike Luu <[email protected]>: >> >>> I am using Akka actors to process a data stream from Kafka. Similar to a traditional ETL approach except with parallel processing branches. >>> It’s been good so far. Took a bit to fully embrace the ‘let it fail’ design mentality. >>> >>> I started with the Mikka gem here: >>> https://github.com/iconara/mikka >>> >>> and I created a fork to add enhancements I needed along the way >>> https://github.com/munkyboy/mikka >>> >>> Cheers, >>> Mike >>> >>> On Oct 1, 2014, at 8:01 AM, Alexander Fitterling <[email protected]> wrote: >>> >>>> Hi everyone, >>>> >>>> is there anyone that uses akka/scala together with jruby? >>>> >>>> kind regards, >>>> Alex >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe from this list, please visit: >>>> >>>> http://xircles.codehaus.org/manage_email >>>> >>>> >>> >> >> >