Re: [jruby-user] Scala/Akka and JRuby

snacktime <[email protected]>
Newsgroups gmane.comp.lang.jruby.user
Message-ID <CABFnarbqkk+OpKmeh61Gwb5T2Th9c_wvEAohyB1X8TP4KoOGQg@mail.gmail.com>
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
>
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.