users@glassfish.java.net

RE: Glassfish + Jruby

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Thu, 22 Oct 2009 16:12:38 -0400

great
how does JRuby import ruby code?

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 13:05:50 -0700
> From: Vivek.Pandey_at_Sun.COM
> To: users_at_glassfish.dev.java.net
> CC: Anissa.Lam_at_Sun.COM
> Subject: Re: Glassfish + Jruby
>
> 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>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
                                               
_________________________________________________________________
New Windows 7: Find the right PC for you. Learn more.
http://www.microsoft.com/windows/pc-scout/default.aspx?CBID=wl&ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_pcscout:102009
--_5832be9a-2941-4466-a445-59fc8731d1e5_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
great<br>how does JRuby import ruby code?<br><br>thanks!<br>Martin Gainty <br>______________________________________________ <br>Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité<br><div>&nbsp;<br>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.<br></div><pre>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.</pre><br><br><br><br><br>&gt; Date: Thu, 22 Oct 2009 13:05:50 -0700<br>&gt; From: Vivek.Pandey@Sun.COM<br>&gt; To: users@glassfish.dev.java.net<br>&gt; CC: Anissa.Lam@Sun.COM<br>&gt; Subject: Re: Glassfish + Jruby<br>&gt; <br>&gt; Not sure what you mean by 'parse ruby to jruby'. JRuby is a Java based <br>&gt; Ruby language interpreter. So any Ruby code can be executed using JRuby. <br>&gt; Basically JRuby generates java bytecodes for the given Ruby script to <br>&gt; run on JVM.<br>&gt; <br>&gt; -vivek.<br>&gt; <br>&gt; Martin Gainty wrote:<br>&gt; &gt; any ability to port an existing ruby codebase (via option 2)<br>&gt; &gt; so jruby (interpreter) can convert/parse ruby to 'jruby'?<br>&gt; &gt; (seeking an 'automated solution')<br>&gt; &gt;<br>&gt; &gt; thanks,<br>&gt; &gt; Martin Gainty<br>&gt; &gt; ______________________________________________<br>&gt; &gt; Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité<br>&gt; &gt; <br>&gt; &gt; Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene <br>&gt; &gt; Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede <br>&gt; &gt; unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. <br>&gt; &gt; Diese Nachricht dient lediglich dem Austausch von Informationen und <br>&gt; &gt; entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten <br>&gt; &gt; Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den <br>&gt; &gt; Inhalt uebernehmen.<br>&gt; &gt; 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.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; Date: Thu, 22 Oct 2009 12:01:48 -0700<br>&gt; &gt; &gt; From: Vivek.Pandey@Sun.COM<br>&gt; &gt; &gt; To: users@glassfish.dev.java.net<br>&gt; &gt; &gt; CC: Anissa.Lam@Sun.COM<br>&gt; &gt; &gt; Subject: Re: Glassfish + Jruby<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; [cc Anissa]<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; John Clingan wrote:<br>&gt; &gt; &gt; &gt; Vivek, I have a fairly clean install of build 69. I do have a "JRuby<br>&gt; &gt; &gt; &gt; Container" configuration tree node for defining the JRuby pool size,<br>&gt; &gt; &gt; &gt; but I haven't installed any JRuby modules from the update center.<br>&gt; &gt; &gt; &gt; Since I haven't installed JRuby, what is the purpose of that tree <br>&gt; &gt; node?<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; So that you can configure JRuby Container say where it can find JRuby<br>&gt; &gt; &gt; installation.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; For a Ruby developer who wants to deploy on glassfish there are 2 ways<br>&gt; &gt; &gt; JRuby can be available,<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; 1. thru update center or<br>&gt; &gt; &gt; 2. your own jruby installation.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Ideally, for 1, admin ui should prefill JRuby Home text box, this is<br>&gt; &gt; &gt; because we known if jruby is installed using update center and <br>&gt; &gt; how/where<br>&gt; &gt; &gt; to find the interpreter libraries. In case of 2, you would need to <br>&gt; &gt; enter<br>&gt; &gt; &gt; where the JRuby install is located.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; -vivek.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; On Oct 21, 2009, at 4:10 PM, Vivek Pandey wrote:<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&gt; Aaron Axelsen wrote:<br>&gt; &gt; &gt; &gt;&gt;&gt; I have installed glassfish, activated both the jruby and jruby-gems<br>&gt; &gt; &gt; &gt;&gt;&gt; components.<br>&gt; &gt; &gt; &gt;&gt; You mean you installed jruby and jruby-gems from glassfish update<br>&gt; &gt; &gt; &gt;&gt; center? If so, then you are all set. Simply deploy your ruby<br>&gt; &gt; &gt; &gt;&gt; application using 'asadmin deploy command'.<br>&gt; &gt; &gt; &gt;&gt;<br>&gt; &gt; &gt; &gt;&gt;&gt; Are there any additional steps to enable jruby support? Do<br>&gt; &gt; &gt; &gt;&gt;&gt; I also need to install jruby somewhere on the system? (Sorry if <br>&gt; &gt; this is<br>&gt; &gt; &gt; &gt;&gt;&gt; a given, but i'm having a hard time finding any explained<br>&gt; &gt; &gt; &gt;&gt;&gt; information on<br>&gt; &gt; &gt; &gt;&gt;&gt; this via google).<br>&gt; &gt; &gt; &gt;&gt;<br>&gt; &gt; &gt; &gt;&gt; As I mentioned above, if you have installed jruby/jruby-gem via<br>&gt; &gt; &gt; &gt;&gt; glassfish updatecenter then no further jruby related configuration<br>&gt; &gt; &gt; &gt;&gt; needed.<br>&gt; &gt; &gt; &gt;&gt;&gt; The ruby container option in the admin area leads me<br>&gt; &gt; &gt; &gt;&gt;&gt; to think there is something more to install.<br>&gt; &gt; &gt; &gt;&gt;&gt;<br>&gt; &gt; &gt; &gt;&gt;&gt;<br>&gt; &gt; &gt; &gt;&gt; The configure-jruby-container man page was added recently. Can you<br>&gt; &gt; &gt; &gt;&gt; try' asadmin configure-jruby-container --help' command on the latest<br>&gt; &gt; &gt; &gt;&gt; nightly and it should explain which options are required.<br>&gt; &gt; &gt; &gt;&gt;<br>&gt; &gt; &gt; &gt;&gt; -vivek.<br>&gt; &gt; &gt; &gt;&gt;<br>&gt; &gt; &gt; &gt;&gt;<br>&gt; &gt; &gt; &gt;&gt; ---------------------------------------------------------------------<br>&gt; &gt; &gt; &gt;&gt; To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net<br>&gt; &gt; &gt; &gt;&gt; For additional commands, e-mail: users-help@glassfish.dev.java.net<br>&gt; &gt; &gt; &gt;&gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; ---------------------------------------------------------------------<br>&gt; &gt; &gt; &gt; To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net<br>&gt; &gt; &gt; &gt; For additional commands, e-mail: users-help@glassfish.dev.java.net<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; ---------------------------------------------------------------------<br>&gt; &gt; &gt; To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net<br>&gt; &gt; &gt; For additional commands, e-mail: users-help@glassfish.dev.java.net<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; Windows 7: Simplify your PC. Learn more. <br>&gt; &gt; &lt;http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen1:102009&gt;<br>&gt; <br>&gt; ---------------------------------------------------------------------<br>&gt; To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net<br>&gt; For additional commands, e-mail: users-help@glassfish.dev.java.net<br>&gt; <br> <br /><hr />New Windows 7: Find the right PC for you. <a href='http://www.microsoft.com/windows/pc-scout/default.aspx?CBID=wl&ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_pcscout:102009' target='_new'>Learn more.</a></body>
</html>
--_5832be9a-2941-4466-a445-59fc8731d1e5_--