users@glassfish.java.net

Re: Glassfish + Jruby

From: Vivek Pandey <Vivek.Pandey_at_Sun.COM>
Date: Thu, 22 Oct 2009 13:05:50 -0700

Not sure what you mean by 'parse ruby to jruby'. JRuby is a Java based
Ruby language interpreter. So any Ruby code can be executed using JRuby.
Basically JRuby generates java bytecodes for the given Ruby script to
run on JVM.

-vivek.

Martin Gainty wrote:
> any ability to port an existing ruby codebase (via option 2)
> so jruby (interpreter) can convert/parse ruby to 'jruby'?
> (seeking an 'automated solution')
>
> thanks,
> Martin Gainty
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede
> unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig.
> Diese Nachricht dient lediglich dem Austausch von Informationen und
> entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten
> Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den
> Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
>
>
>
>
>
> > Date: Thu, 22 Oct 2009 12:01:48 -0700
> > From: Vivek.Pandey_at_Sun.COM
> > To: users_at_glassfish.dev.java.net
> > CC: Anissa.Lam_at_Sun.COM
> > Subject: Re: Glassfish + Jruby
> >
> > [cc Anissa]
> >
> >
> > John Clingan wrote:
> > > Vivek, I have a fairly clean install of build 69. I do have a "JRuby
> > > Container" configuration tree node for defining the JRuby pool size,
> > > but I haven't installed any JRuby modules from the update center.
> > > Since I haven't installed JRuby, what is the purpose of that tree
> node?
> > >
> > So that you can configure JRuby Container say where it can find JRuby
> > installation.
> >
> > For a Ruby developer who wants to deploy on glassfish there are 2 ways
> > JRuby can be available,
> >
> > 1. thru update center or
> > 2. your own jruby installation.
> >
> > Ideally, for 1, admin ui should prefill JRuby Home text box, this is
> > because we known if jruby is installed using update center and
> how/where
> > to find the interpreter libraries. In case of 2, you would need to
> enter
> > where the JRuby install is located.
> >
> > -vivek.
> >
> >
> > > On Oct 21, 2009, at 4:10 PM, Vivek Pandey wrote:
> > >
> > >> Aaron Axelsen wrote:
> > >>> I have installed glassfish, activated both the jruby and jruby-gems
> > >>> components.
> > >> You mean you installed jruby and jruby-gems from glassfish update
> > >> center? If so, then you are all set. Simply deploy your ruby
> > >> application using 'asadmin deploy command'.
> > >>
> > >>> Are there any additional steps to enable jruby support? Do
> > >>> I also need to install jruby somewhere on the system? (Sorry if
> this is
> > >>> a given, but i'm having a hard time finding any explained
> > >>> information on
> > >>> this via google).
> > >>
> > >> As I mentioned above, if you have installed jruby/jruby-gem via
> > >> glassfish updatecenter then no further jruby related configuration
> > >> needed.
> > >>> The ruby container option in the admin area leads me
> > >>> to think there is something more to install.
> > >>>
> > >>>
> > >> The configure-jruby-container man page was added recently. Can you
> > >> try' asadmin configure-jruby-container --help' command on the latest
> > >> nightly and it should explain which options are required.
> > >>
> > >> -vivek.
> > >>
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> > >> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> > >>
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> > > For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> >
>
> ------------------------------------------------------------------------
> Windows 7: Simplify your PC. Learn more.
> <http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen1:102009>