On Thu, Jun 4, 2009 at 4:48 PM, Vivek Pandey <[email protected]> wrote:
> Why do you need to go WAR route? > > Give glassfish gem a try: > > Assuming you have JDK6 and JRuby installed > > Install: > > $ jruby -S gem install glassfish > > To run: > > $ cd your-app > $ glassfish > > > There is no warring here. The gem is about 3.4 MB in size and directly run > Rails or Rack based frameworks (Merb, Sinatra, Ramaze) by hooking up HTTP > (grizzly framework) with the framework of your choice. > > -vivek > > > > On Thu, Jun 4, 2009 at 4:41 PM, JannaB <[email protected]> wrote: > >> >> It's ALL NONSENSE. I do NOT want to "war" things up. Been there -- >> done that, left it behind. Things should be able to run out of a >> filesystem, without modification, without all kinds of steps. >> Otherwise, we're going backwards, Jruby notwithstanding. -Janna >> >> On Jun 4, 7:05 pm, Conrad Taylor <[email protected]> wrote: >> > 2009/6/4 Maurício Linhares <[email protected]> >> > >> > >> > >> > >> > >> > > Who said you need warbler or a war file? Have you searched for the >> > > glassfish gem or jetty-rails? >> > >> > > You'll be amazed how it's easier than dabbling in Apache config, >> > > specially on Windows. >> > >> > > - >> > > Maurício Linhares >> > >http://alinhavado.wordpress.com/(pt-br)<http://alinhavado.wordpress.com/%28pt-br%29>| >> http://blog.codevader.com/(en) <http://blog.codevader.com/%28en%29> >> > >> > > On Thu, Jun 4, 2009 at 7:13 PM, JannaB <[email protected]> >> wrote: >> > >> > > > No way -- have you tried to make a war file with warbler? I am an ex >> > > > Java programmer -- and the JRuby java-style of deployment defeats >> the >> > > > purpose of why we all went to Ruby! >> > >> > This was what I was able to find in regards to JRuby using Glassfish: >> > >> > http://download.java.net/javaee5/screencasts/jruby-in-glassfish/ >> > >> > In short, it seems to be a very slow process when it comes time to >> > generate your first Rails application because it needs to import >> > the required gems into the war file. However, it seems that it gets >> > a little faster after future deployments but the war file creation >> > appears to slow and/or he was working on a very slow machine. >> > >> > In contrast, Charles Nutter gave a great talk at Railsconf 2009 and >> > he really showed the speed of JRuby. Also, he did a demo on the >> > threading capabilities of JRuby showing true parallel threads whereas >> > Ruby 1.8.6 (MRI) and Ruby 1.9.1 (YARV) do not have this feature at >> > this time because of the global interpreter lock (GCL). >> > >> > -Conrad >> >> > Vivek, you might want to create a screencast on how to deploy a Rails application using JRuby and Glassfish. This will be helpful to others that want to use JRuby as well as disprove some of the negative myths attached to it. -Conrad --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

