Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Spring hard compared to Ruby on Rails? [closed]

If I have little to no experience in either of them, but know enough Java and Ruby to be comfortable, is one framework harder to learn than the other? Is one easier to use for the beginner on these?

I know it is hard to answer. Just looking for general thoughts on it.

like image 320
johnny Avatar asked Jul 13 '09 14:07

johnny


People also ask

Is it worth learning Ruby on Rails in 2022?

Ruby on Rails is still relevant in 2022 and will stay relevant for a few years to come. It is a simple and powerful platform to build rapid prototypes, MVP, and any kind of web application/service. It reduces the development time and helps you hit the market in a really short time.

Is spring difficult to learn?

To answer your questions, Spring is easy to learn because the whole framework is designed to work with POJOs, instead of relying on special interfaces, abstract classes or such.

Is Ruby on Rails easier than Java?

When comparing Ruby on Rails VS Java performance, Java is a clear-cut winner as it offers better application performance. As per the Java architecture, the JVM transforms the code into machine code quicker and hence your Java application code is executed speedily as compared to RoR.

Is Ruby on Rails hard?

Is it hard to learn Ruby on Rails? Ruby on Rails is a server-side (back-end) web application framework that has been written in Ruby. It's a model-view-controller framework that provides default database, web page, and web service structures. And no, it's not hard to learn at all!


2 Answers

I don't like this comparison.

You should compare Grails or Spring Roo to Rails. Groovy Grails is a RoR like system built on Spring that uses Groovy for rails-like DSLs. Roo is a vaguely railish pure java DSL for RoR like apps.

I really hate to say it this way but Spring is a platform. You use it to wire Java technologies together. You can use it for non-web, non-database, zero UI apps. You can use it to write batch servers. You can use it to write clients.

Rails isn't the same. I really like rails for data driven web apps but I shudder at the thought of writing a batch processing system in rails.

like image 193
sal Avatar answered Sep 28 '22 01:09

sal


After working with Rails, Spring (and just about any other Java coding) feels tedious and time consuming.

like image 45
Eric the Red Avatar answered Sep 28 '22 01:09

Eric the Red