[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

What would you like to know about JRuby?

Charles Oliver Nutter

11/4/2008 8:52:00 PM

Tom Enebo and I are putting together our JRuby presentation for
RubyConf, and there's just too much stuff to fit into 45 minutes. So
what areas would people most like to hear about?

- Rails (or Merb, Rack, etc) deployment
- Performance
- Java integration (calling Java libraries)
- FFI
- Ruby 1.9 support
- General compatibility
- How to help or contribute
- Technical/implementation details
- GUI development (there's also a MonkeyBars talk already)
- Graphics/game development

Others?

Hopefully the talks will be recorded as well, so those of you not at
RubyConf can see it too.

- Charlie

18 Answers

Bill Kelly

11/4/2008 9:17:00 PM

0


From: "Charles Oliver Nutter" <charles.nutter@sun.com>
>
> Tom Enebo and I are putting together our JRuby presentation for
> RubyConf, and there's just too much stuff to fit into 45 minutes. So
> what areas would people most like to hear about?
>
> - Rails (or Merb, Rack, etc) deployment
> - Performance
> - Java integration (calling Java libraries)
> - FFI
> - Ruby 1.9 support
> - General compatibility
> - How to help or contribute
> - Technical/implementation details
> - GUI development (there's also a MonkeyBars talk already)
> - Graphics/game development
>
> Others?

Applets?
- are applets supported? work OK or problematic?
- what's the minimum or typical jar file size to get a reasonable jruby runtime in an applet?


Thanks!

Bill



Charles Oliver Nutter

11/4/2008 10:24:00 PM

0

Bill Kelly wrote:
> Applets?
> - are applets supported? work OK or problematic?
> - what's the minimum or typical jar file size to get a reasonable jruby
> runtime in an applet?

Yeah, good idea. How about mobile too? We get a lot of questions about
whether JRuby could work on Android et al, and though we're not working
on it it's most definitely possible. I figure we could cover the current
state and possible future for both applets and mobile and give people
the step-by-step needed to make either work.

So much stuff we could include.

- Charlie

James Britt

11/5/2008 12:58:00 AM

0

Charles Oliver Nutter wrote:
> Bill Kelly wrote:
>> Applets?
>> - are applets supported? work OK or problematic?
>> - what's the minimum or typical jar file size to get a reasonable
>> jruby runtime in an applet?
>
> Yeah, good idea. How about mobile too? We get a lot of questions about
> whether JRuby could work on Android et al, and though we're not working
> on it it's most definitely possible. I figure we could cover the current
> state and possible future for both applets and mobile and give people
> the step-by-step needed to make either work.
>
> So much stuff we could include.
>

Indeed. I'd like to hear more about JRuby on the Web for non-Rails
apps. (I've been hacking around getting a straight-up Rack app up
running on Glassfish via Warbler, and want to do the same for a Ramaze
project; if there are others at RubyConf in the same boat give a yell,
we can swap war (ha ha!) stories.)


--
James Britt

www.happycamperstudios.com - Wicked Cool Coding
www.jamesbritt.com - Playing with Better Toys
www.ruby-doc.org - Ruby Help & Documentation
www.rubystuff.com - The Ruby Store for Ruby Stuff

Charles Oliver Nutter

11/5/2008 1:26:00 AM

0

James Britt wrote:
> Indeed. I'd like to hear more about JRuby on the Web for non-Rails
> apps. (I've been hacking around getting a straight-up Rack app up
> running on Glassfish via Warbler, and want to do the same for a Ramaze
> project; if there are others at RubyConf in the same boat give a yell,
> we can swap war (ha ha!) stories.)

Maybe there's enough interest in JRuby practicalities that we should try
to pull together a hackfest and/or BOF? As I understand it there's going
to be a lot of available rooms for that kind of thing. Anyone know how
BOFs and breakout rooms will be scheduled?

- Charlie

James Britt

11/5/2008 5:55:00 AM

0

Charles Oliver Nutter wrote:
> James Britt wrote:
>> Indeed. I'd like to hear more about JRuby on the Web for non-Rails
>> apps. (I've been hacking around getting a straight-up Rack app up
>> running on Glassfish via Warbler, and want to do the same for a Ramaze
>> project; if there are others at RubyConf in the same boat give a yell,
>> we can swap war (ha ha!) stories.)
>
> Maybe there's enough interest in JRuby practicalities that we should try
> to pull together a hackfest and/or BOF?

That'd work. I plan on hacking on Wiimote-driven Monkeybars app
(excited that I just picked up a very nice wireless IR sensor bar).





--
James Britt

www.happycamperstudios.com - Wicked Cool Coding
www.jamesbritt.com - Playing with Better Toys
www.ruby-doc.org - Ruby Help & Documentation
www.rubystuff.com - The Ruby Store for Ruby Stuff

Roger Pack

11/5/2008 11:59:00 PM

0

Charles Oliver Nutter wrote:
> Tom Enebo and I are putting together our JRuby presentation for
> RubyConf, and there's just too much stuff to fit into 45 minutes. So
> what areas would people most like to hear about?

I won't be there but android support :)
-=R
--
Posted via http://www.ruby-....

Dick Davies

11/18/2008 1:25:00 PM

0

On Tue, Nov 4, 2008 at 8:51 PM, Charles Oliver Nutter
<charles.nutter@sun.com> wrote:
> Tom Enebo and I are putting together our JRuby presentation for RubyConf,
> and there's just too much stuff to fit into 45 minutes. So what areas would
> people most like to hear about?
>
> - Rails (or Merb, Rack, etc) deployment
> - Performance
> - Java integration (calling Java libraries)
> - FFI
> - Ruby 1.9 support
> - General compatibility
> - How to help or contribute
> - Technical/implementation details
> - GUI development (there's also a MonkeyBars talk already)
> - Graphics/game development
>
> Others?


I'd like a few examples of embedding Ruby into JEE - Ola Binis book had some
stuff on writing an EJB in Ruby for example, I've seen OpenESB demos
with JRuby scripts
as objects in the workflow, etc.

The Net is full of Rails+AR+MySQL+Jruby walkthroughs, but I'm trying
to write a JRuby MBean
(so i can run Ruby code when my cluster changes state)
and Google is looking back at me pretty blankly, I can tell you :)

Charles Oliver Nutter

11/18/2008 1:54:00 PM

0

Dick Davies wrote:
> I'd like a few examples of embedding Ruby into JEE - Ola Binis book had some
> stuff on writing an EJB in Ruby for example, I've seen OpenESB demos
> with JRuby scripts
> as objects in the workflow, etc.
>
> The Net is full of Rails+AR+MySQL+Jruby walkthroughs, but I'm trying
> to write a JRuby MBean
> (so i can run Ruby code when my cluster changes state)
> and Google is looking back at me pretty blankly, I can tell you :)

There's actually some work going on in the GlassFish team to make Ruby a
first-class citizen of the Java EE world, so you could actually just
define an MDB in Ruby or a Sesion Bean in Ruby and it would wire all
that up. As painful and ugly as that sounds...we've seen other APIs
become actually pretty nice with a little Ruby sprinkled on them, and
it's an obvious way to start using it in an existing EE company.

For the moment though, we really just need to iron out the embedding
story. Three or four different APIs, all slightly different, all with
their own compatibility and migration stories. Not the best state of
affairs.

- Charlie

Chris Andrews

11/18/2008 11:17:00 PM

0

On Tue, Nov 18, 2008 at 1:53 PM, Charles Oliver Nutter
<charles.nutter@sun.com> wrote:
> There's actually some work going on in the GlassFish team to make Ruby a
> first-class citizen of the Java EE world, so you could actually just define
> an MDB in Ruby or a Sesion Bean in Ruby and it would wire all that up. As
> painful and ugly as that sounds...we've seen other APIs become actually
> pretty nice with a little Ruby sprinkled on them, and it's an obvious way to
> start using it in an existing EE company.

That sounds rather cool - do you have any pointers to more information?

I've actually chosen to get into J2EE for a new project based on the
ability to deploy both a Rails app and a JRuby MDB using the same app
together in Glassfish, and while it wasn't that difficult (even for
this EE newb), it's far from just writing some Ruby. If there was
something like the equivalent of Warbler for beans, that would be
ideal.


Chris.

Charles Oliver Nutter

11/19/2008 4:58:00 AM

0

Chris Andrews wrote:
> That sounds rather cool - do you have any pointers to more information?
>
> I've actually chosen to get into J2EE for a new project based on the
> ability to deploy both a Rails app and a JRuby MDB using the same app
> together in Glassfish, and while it wasn't that difficult (even for
> this EE newb), it's far from just writing some Ruby. If there was
> something like the equivalent of Warbler for beans, that would be
> ideal.

Ahh, yeah, a "Beaner" or something to package up Ruby + JRuby for EE
stuff. That's a good idea.

I don't have a link to it, since it's more internal discussion at this
point. Asking on JRuby mailing list would probably produce some
discussion. I believe the idea is that you would just be able to
configure a Ruby script or class as the MDB, for example, and GF would
know how to spin up JRuby and get at it. Sorta like how Spring can wire
in Ruby components (though Spring still ships JRuby 1.0ish, now
basically EOLed).

- Charlie