JavaWorld
addict
Reged: 06/20/03
Posts: 482
|
|
Do you agree with Nutter's assessment that JRuby is essentially a replacement for Struts? Why or why not?
|
Unregistered
|
|
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.
|
Unregistered
|
|
I believe that Groovy on Grails is better than JRuby on Rails for Java developers. It uses Spring+Hibernate under the cover...
|
Unregistered
|
|
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"
|
maveric
Unregistered
|
|
Who cares !!! i think struts died anyway like nutter himself said - so JRuby is not killing anyone i guess
|