There is someone using jruby? I''d like to know some experiences and some opinions about jruby on rails. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Msan Msan wrote in post #969090:> There is someone using jruby? > I''d like to know some experiences and some opinions about jruby on > rails.I use JRuby for one non-Rails project. In most situations, I don''t see much point in using it for Rails, largely because I don''t like server-side Java deployment options. What''s your actual question? Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org Sent from my iPhone -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 12/17/10 8:24 AM, Mauro wrote:> There is someone using jruby? > I''d like to know some experiences and some opinions about jruby on rails. >My group uses redmine running on jruby. the glassfish gem made it pretty trivial to set up. ~Rob -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Rob Saul wrote in post #969117:> On 12/17/10 8:24 AM, Mauro wrote: >> There is someone using jruby? >> I''d like to know some experiences and some opinions about jruby on rails. >> > > My group uses redmine running on jruby. the glassfish gem made it > pretty trivial to set up.I had heard that. I have also heard that the glassfish gem may no longer be being maintained...> > > ~RobBest, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I''m using JRuby, outside Rails currently (although I know people found it interesting to benefits from existing deployment infrastructures). I use it mainly for: - reliable job processing/pdf generation with Resque + Java CRM interop (post: http://blog.logeek.fr/2010/8/2/on-jruby-resque-and-windows) - real-time vst audio-processing (together with Mirah) (code: https://github.com/thbar/opaz-plugdk) best, -- Thibaut -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 17 December 2010 17:50, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Msan Msan wrote in post #969090: >> There is someone using jruby? >> I''d like to know some experiences and some opinions about jruby on >> rails. > > I use JRuby for one non-Rails project. In most situations, I don''t see > much point in using it for Rails, largely because I don''t like > server-side Java deployment options. > > What''s your actual question?No specific question, I would only know some opinions about the use of jruby. I''ve used ruby with rails but pretty soon I''ve tried jruby with rails. I''ve found it much simpler to setup and upgrade, you need only the .tar or .zip file and extract it on pc. The deployment is very simply too, you have to create the .war file and deploy it on tomcat or glassfish or whatever servlet container and that''s all. Also about all the gems are supported by jruby and, not least, it run on the jvm then it has the jvm thread support. I think jruby is really a good choice. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Msan Msan wrote in post #969134:> On 17 December 2010 17:50, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > wrote: >> Msan Msan wrote in post #969090: >>> There is someone using jruby? >>> I''d like to know some experiences and some opinions about jruby on >>> rails. >> >> I use JRuby for one non-Rails project. In most situations, I don''t see >> much point in using it for Rails, largely because I don''t like >> server-side Java deployment options. >> >> What''s your actual question? > > No specific question, I would only know some opinions about the use of > jruby. > I''ve used ruby with rails but pretty soon I''ve tried jruby with rails. > I''ve found it much simpler to setup and upgrade, you need only the > .tar or .zip file and extract it on pc.Same for any other Ruby, particularly if you use RVM.> The deployment is very simply too, you have to create the .war file > and deploy it on tomcat or glassfish or whatever servlet container and > that''s all.I wouldn''t call anything involving servlet containers "simple". Passenger is a lot simpler.> Also about all the gems are supported by jrubyNot true. Any gem with C extensions won''t run on JRuby unless the extensions have been ported. (Last I heard, even such a well-known gem as Nokogiri didn''t work on JRuby.)> and, not least, it run > on the jvm then it has the jvm thread support.How often do you find yourself needing this, at least for Rails?> I think jruby is really a good choice.For some projects, yes -- I''m using it (with Monkeybars) to create a Swing desktop application in Ruby. But I don''t think I''d want to use JRuby for a typical Rails project. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org Sent from my iPhone -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 17 December 2010 21:04, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I wouldn''t call anything involving servlet containers "simple".Why? -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Msan Msan wrote in post #969148:> On 17 December 2010 21:04, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > wrote: > >> I wouldn''t call anything involving servlet containers "simple". > > Why?Because in my experience, servlet containers are hard to set up correctly, and messing around with WAR files is unneeded extra work. Have you tried Passenger yet? It''s about as easy to use as mod_php. That''s how deployment *should* be, not all that Tomcat and WAR crap. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org Sent from my iPhone -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 17 December 2010 21:18, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Msan Msan wrote in post #969148: >> On 17 December 2010 21:04, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> >> wrote: >> >>> I wouldn''t call anything involving servlet containers "simple". >> >> Why? > > Because in my experience, servlet containers are hard to set up > correctly, and messing around with WAR files is unneeded extra work.They are not so hard.> Have you tried Passenger yet? It''s about as easy to use as mod_php. > That''s how deployment *should* be, not all that Tomcat and WAR crap.I work with grails too. Do you know grails? So I need a servlet container for my grails apps, then I prefer to have all my apps under a single container that''s another reason of my choice of jruby. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Msan Msan wrote in post #969162:> On 17 December 2010 21:18, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > wrote: >> Msan Msan wrote in post #969148: >>> On 17 December 2010 21:04, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> >>> wrote: >>> >>>> I wouldn''t call anything involving servlet containers "simple". >>> >>> Why? >> >> Because in my experience, servlet containers are hard to set up >> correctly, and messing around with WAR files is unneeded extra work. > > They are not so hard.But when a simpler alternative exists, why not use it? "Not so hard" is hardly a glowing endorsement. :)> >> Have you tried Passenger yet? It''s about as easy to use as mod_php. >> That''s how deployment *should* be, not all that Tomcat and WAR crap. > > I work with grails too. > Do you know grails?No. I work with real Ruby and real Rails, not a knockoff. :D (That was admittedly snarky. I know Groovy and Grails have some interesting features.)> So I need a servlet container for my grails apps, then I prefer to > have all my apps under a single container that''s another reason of my > choice of jruby.On the one hand, it may make sense to use your existing Java environment. On the other hand, though...what benefits do you gain from jumping through the extra hoops that JRuby represents? Again, I ask: have you ever *tried* something like Passenger? Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org Sent from my iPhone -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 12/17/10 10:08 AM, Marnen Laibow-Koser wrote:> Rob Saul wrote in post #969117: >> On 12/17/10 8:24 AM, Mauro wrote: >>> There is someone using jruby? >>> I''d like to know some experiences and some opinions about jruby on rails. >>> >> >> My group uses redmine running on jruby. the glassfish gem made it >> pretty trivial to set up. > > I had heard that. I have also heard that the glassfish gem may no > longer be being maintained...the word I got is that the jruby team will continue to maintain it. In the last 24 hours there was a note that version 1.0.3 will soon be available. ~Rob -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Rob Saul wrote in post #969177:> On 12/17/10 10:08 AM, Marnen Laibow-Koser wrote: >> longer be being maintained... > the word I got is that the jruby team will continue to > maintain it. In the last 24 hours there was a note that > version 1.0.3 will soon be available.Good to know. I certainly intend to investigate glassfish if I ever need to use JRuby for Rails.> > ~RobBest, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org Sent from my iPhone -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 17 December 2010 23:23, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Again, I ask: have you ever *tried* something like Passenger? >I''ve tried passenger time ago. I''ve installed something like a apache module. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Msan Msan wrote in post #969303:> On 17 December 2010 23:23, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > wrote: >> Again, I ask: have you ever *tried* something like Passenger? >> > I''ve tried passenger time ago. > I''ve installed something like a apache module.If that was a while ago, I highly recommend giving it another try. No WAR files, no servlet containers -- just put the Ruby files on the server like you would with PHP. Easy. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org Sent from my iPhone -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 12/18/10, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Msan Msan wrote in post #969303: >> On 17 December 2010 23:23, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> >> wrote: >>> Again, I ask: have you ever *tried* something like Passenger? >>> >> I''ve tried passenger time ago. >> I''ve installed something like a apache module. > > If that was a while ago, I highly recommend giving it another try. No > WAR files, no servlet containers -- just put the Ruby files on the > server like you would with PHP. Easy. >Same with Tomcat. Just copy the war file to the webapps folder and that''s it. How hard can that be? All the best, Fidel. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Fidel Viegas wrote in post #969315:> On 12/18/10, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> server like you would with PHP. Easy. >> > > Same with Tomcat. Just copy the war file to the webapps folder and > that''s it. How hard can that be? >But first you have to make the WAR file -- a totally unnecessary task given that neither Passenger or the glassfish gem makes you do it. And my experience with Tomcat has been that setup of Tomcat itself is not easy, even when deploying a prepackaged WAR file.> All the best, > > Fidel.Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org Sent from my iPhone -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Sat, Dec 18, 2010 at 11:49 AM, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: There are reasons I''d choose MRI or REE over JRuby for specific apps, but these aren''t them:> But first you have to make the WAR file -- a totally unnecessary task > given that neither Passenger or the glassfish gem makes you do it.And yet utterly trivial to include in your Capistrano deployment script (or alternative), so hardly a show-stopper!> my experience with Tomcat has been that setup of Tomcat itself is not > easy, even when deploying a prepackaged WAR file.What "setup"? Untar the distribution, edit the config file if you want other than the default ports, drop in your WAR file, start. E.Z. But, horses for courses... -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 12/18/10, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> > But first you have to make the WAR file -- a totally unnecessary task > given that neither Passenger or the glassfish gem makes you do it. And > my experience with Tomcat has been that setup of Tomcat itself is not > easy, even when deploying a prepackaged WAR file. >I don''t really use JRuby, so I haven''t had the chance to try the glassfish gem. But I do use Grails, which generates War files, and the process isn''t any difficult. At least to me. I don''t really mind generate the war file with "grails war" and then deploy it in a servlet container. At the moment, I use primarily Rails with apache and passenger, but oftentimes I do have the need to work with Java based apps, hence the use of Grails which I find easier to deploy than JRuby on Rails. At least, I wasn''t aware of the glassfish gem and when I tried to play with it, it generated a bunch of errors that I did not have the time to deal with. I read a bit about the glassfish gem and it does sound easier to deal with, since Glassfish is integrated into the whole server stack. Anyway... Passenger has made Rails deployment an easy process. So, on this one, I do agree with you. All the best, Fidel. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hassan Schroeder wrote in post #969321:> On Sat, Dec 18, 2010 at 11:49 AM, Marnen Laibow-Koser > <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > > There are reasons I''d choose MRI or REE over JRuby for specific > apps, but these aren''t them:So what would your reasons be?> >> But first you have to make the WAR file -- a totally unnecessary task >> given that neither Passenger or the glassfish gem makes you do it. > > And yet utterly trivial to include in your Capistrano deployment script > (or alternative), so hardly a show-stopper!Probably true. I''ve never made a WAR file out of a Rails application, so I don''t know if there are other gotchas...> >> my experience with Tomcat has been that setup of Tomcat itself is not >> easy, even when deploying a prepackaged WAR file. > > What "setup"? Untar the distribution, edit the config file if you want > other than the default ports, drop in your WAR file, start. E.Z.Not in my experience -- I had terrible trouble getting Tomcat to actually work. Perhaps things have changed.> > But, horses for courses...Does that actually mean anything in this connection?> > -- > Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > twitter: @hassanBest, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org Sent from my iPhone -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 18 December 2010 21:30, Fidel Viegas <fidel.viegas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I don''t really use JRuby, so I haven''t had the chance to try the > glassfish gem. But I do use Grails, which generates War files, and the > process isn''t any difficult. At least to me. I don''t really mind > generate the war file with "grails war" and then deploy it in a > servlet container.You use grails too? I''d like to have some opinions about grails and RoR. I use both, but lately I prefer grails to develop my applications. With RoR you have to think about tables, create foreign key, and so on, with you have to create your domain classes and that''s all. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 12/19/10, Mauro <mrsanna1-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 18 December 2010 21:30, Fidel Viegas <fidel.viegas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > You use grails too? > I''d like to have some opinions about grails and RoR. > I use both, but lately I prefer grails to develop my applications. > With RoR you have to think about tables, create foreign key, and so > on, with you have to create your domain classes and that''s all.Yes, I do use Grails as well, and at this precise moment I am working on a project that required me to use it. Before jumping into Rails as my primary development framework, I used to use mainly Grails, and J2EE before that. Groovy is so much like Java that I just picked it quickly. I also learned Ruby quickly as it is pretty similar in syntax to Python, which I have and still use it quite a lot for System Administration. I think both frameworks are pretty similar and pretty good, and Grails has the advantage of allowing you to make use of existing Java frameworks and tons of libraries available. Specially when you need a reporting solution or support for a certain RDBMS, which does not happen with Active Record. I haven''t really tried DataMapper or another ORM framework. I often decide on what framework to use based on the target platform, RDBMS and reporting solution. For instance, if the target platform is Windows, there is no doubt that I will use Grails, since Rails is not very Windows friendly. If I don''t need any special RDBMS, advanced reporting capabilities, or Windows, then I go for Rails. In fact I only develop with Grails on the Windows platform. Other than that, I use Rails. In the beginning I used Rails only for websites, but now we are using it even for developing financial and accounting software. Now with regards to thinking in tables terms, I prefer it over letting a framework do everything for me. Contrary to what many people can say, Object-Oriented programming and the Relational model are compatible to a certain extent. There are certain OO concepts that are hard to implement in a Relational model. Take inheritance for instance. How many approaches do you have for that? They all have their pros and cons, but none is a perfect match for the real concept. So, to a certain degree you need to think in terms of tables or use an ORDBMS, which is easier to map. The relational model is here to stay for a very long time. All the best, Fidel. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 21 December 2010 12:27, Fidel Viegas <fidel.viegas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I often decide on what framework to use based on the target platform, > RDBMS and reporting solution. For instance, if the target platform is > Windows, there is no doubt that I will use Grails, since Rails is not > very Windows friendly. If I don''t need any special RDBMS, advanced > reporting capabilities, or Windows, then I go for Rails. In fact I > only develop with Grails on the Windows platform. Other than that, I > use Rails.So if rails works as well as grails in Windows your final choice can be rails?> > In the beginning I used Rails only for websites, but now we are using > it even for developing financial and accounting software.I develop only web applications for now, I''m using both grails and rails with jruby because I prefer to deploy under a servlet container like tomcat. I love both, I cannot decide which one prefer. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 12/21/10, Mauro <mrsanna1-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 21 December 2010 12:27, Fidel Viegas <fidel.viegas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> So if rails works as well as grails in Windows your final choice can be > rails?Rails is always my first choice when I begin a new project. I only resort to Grails when I face situations that require me to use it. Such as the ones I have described in my previous post. As for Windows, I only use it if it is one of the client''s requirements. Otherwise, a use a Unix-based system.> I develop only web applications for now, I''m using both grails and > rails with jruby because I prefer to deploy under a servlet container > like tomcat. > I love both, I cannot decide which one prefer.I also don''t have a favourite framework, but I do favour Ruby over Groovy, and that is what leads me to go for Rails. I think that either framework can do the job, and in the end it comes down to language preference, at least for me. Regards, Fidel. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I am using Jruby with Rails. Heard that jruby is much faster than ruby with rails. But I dont know how fast its going...I didn''t experience any difference. But I prefer going with Ruby on Rails where deployment is much easier and we can model our own linking and stuff other than working with glassfish with war files. When I run on development with Webrick its fine but when I deploy it on glassfish it shows me a lot of errors and as it is my first app with jruby and rails on glassfish, it took me a lot of time to figure out what exact prblm is which I didnt not experience on my 1st app with ruby on rails -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Make sure you''re using the latest Glassfish gem, 1.0.3. The latest release fixes a number of issues that have cropped up over the year since the previous release. /Nick On Dec 21, 2010, at 10:37 , Siva Kilaru wrote:> I am using Jruby with Rails. Heard that jruby is much faster than ruby > with rails. But I dont know how fast its going...I didn''t experience any > difference. > > But I prefer going with Ruby on Rails where deployment is much easier > and we can model our own linking and stuff other than working with > glassfish with war files. > > When I run on development with Webrick its fine but when I deploy it on > glassfish it shows me a lot of errors and as it is my first app with > jruby and rails on glassfish, it took me a lot of time to figure out > what exact prblm is which I didnt not experience on my 1st app with ruby > on rails > > -- > Posted via http://www.ruby-forum.com/. > > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. >-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 21 December 2010 17:37, Siva Kilaru <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I am using Jruby with Rails. Heard that jruby is much faster than ruby > with rails. But I dont know how fast its going...I didn''t experience any > difference. > > But I prefer going with Ruby on Rails where deployment is much easier > and we can model our own linking and stuff other than working with > glassfish with war files. > > When I run on development with Webrick its fine but when I deploy it on > glassfish it shows me a lot of errors and as it is my first app with > jruby and rails on glassfish, it took me a lot of time to figure out > what exact prblm is which I didnt not experience on my 1st app with ruby > on rails >I''m using tomcat for a long time in a linux debian xen virtual machine, with grails applications and jruby on rails applications without any problem. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Another option if you are using jruby on rails is the trinidad gem - it leverages the tomcat engine without the trouble of creating a war file. --- Chris On Tue, Dec 21, 2010 at 12:53 PM, Mauro <mrsanna1-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 21 December 2010 17:37, Siva Kilaru <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> I am using Jruby with Rails. Heard that jruby is much faster than ruby >> with rails. But I dont know how fast its going...I didn''t experience any >> difference. >> >> But I prefer going with Ruby on Rails where deployment is much easier >> and we can model our own linking and stuff other than working with >> glassfish with war files. >> >> When I run on development with Webrick its fine but when I deploy it on >> glassfish it shows me a lot of errors and as it is my first app with >> jruby and rails on glassfish, it took me a lot of time to figure out >> what exact prblm is which I didnt not experience on my 1st app with ruby >> on rails >> > > I''m using tomcat for a long time in a linux debian xen virtual > machine, with grails applications and jruby on rails applications > without any problem. > > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 21 December 2010 23:19, Chris Evans <evans.chris-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Another option if you are using jruby on rails is the trinidad gem - > it leverages the tomcat engine without the trouble of creating a warBut creating a war file isn''t a trouble absolutely. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.