Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 96965

Pages: 1
JavaWorld
addict


Reged: 06/20/03
Posts: 482
JRuby replacement for Struts?
      #44920 - 03/27/07 01:05 AM

Do you agree with Nutter's assessment that JRuby is essentially a replacement for Struts? Why or why not?

Post Extras: Print Post   Remind Me!   Notify Moderator  

Unregistered




Re: JRuby replacement for Struts? [Re: JavaWorld]
      #44965 - 03/27/07 07:03 PM

Yes.

Ruby on Rails uses an MVC model and eliminates all of the XML config stuff.

Putting it on Java now allows you to have the best of both worlds. Making Java API calls is a breeze and the ActiveRecord-JDBC makes database work simple.

I also see this replacing hibernate since the db mapping is automatic if you follow the constraints.

The migration capabilities is really cool too. Now you can rollback your db changes by simply specifying a version. "rake migrate VERSION=1"

The ability to package everything in a war file and deploy to your existing app server makes this a viable option for you folks that have previous investments.

There are areas that are still buggy so I recommend just playing with it and writing up bugs but don't deploy to enterprise until its ready.


Post Extras: Print Post   Remind Me!   Notify Moderator  

Unregistered




Re: JRuby replacement for Struts? [Re: Anonymous]
      #45938 - 04/11/07 08:30 AM

I believe that Groovy on Grails is better than JRuby on Rails for Java developers. It uses Spring+Hibernate under the cover...

Post Extras: Print Post   Remind Me!   Notify Moderator  

Unregistered




Re: JRuby replacement for Struts? [Re: Anonymous]
      #46428 - 04/23/07 11:32 AM

Quote:


I also see this replacing hibernate since the db mapping is automatic if you follow the constraints.





Maybe if you use Ruby like you'd use Hibernate... in the data layer. If you use it from the ui layer you might as well just use the sql tags in JSP and your code will end up on "The Daily WTF"


Post Extras: Print Post   Remind Me!   Notify Moderator  
maveric
Unregistered




Re: JRuby replacement for Struts? [Re: Anonymous]
      #46675 - 04/30/07 04:32 AM

Who cares !!! i think struts died anyway like nutter himself said - so JRuby is not killing anyone i guess

Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:   

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 5185

Rate this topic

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5