ruby on rails and java ,which of one of the best in future
&present?

Answer Posted / rani

I am just entering into programming field. Many of them are
encouraging me to take Ruby on Rails. Like Java, Ruby is a
full-featured object-oriented language. But there are many
significant differences.

The main difference between Ruby on Rails and Java is that
RnR is a MVC framework, you have to write the model, the
view and the controllers, and OX is a model-driven
framework, you only need to write the model. The result is
less code for a better application.

Another big difference is that RnR uses passive code
generation; that is, it generates the code for you, but
after it if you want to extend or refine the code you have
to edit the generated code. Java does not use code
generation, the only code you have is the code you write.

I would say ruby on rails providing it's shallower learning
curve and more career opportunities.

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different components of rails ?

492


what are the positive aspects of Rails?

457


what is rails caching?

524


Explain rest in rails routes.

491


Do you know what is rake in rails?

455






difference between member routes and collection routes ?

525


What is the difference between concern and application_controller.rb in ruby on rails?

457


what is “Yield” in Ruby on Rails?

503


what are benefits of using active record as opposed to raw sql queries?

483


Explain the features of ruby on rails.

454


What is the rail console?

484


Do you know what is sweeper in rails?

457


How do I find only duplicate entries in a database table?

585


How are string and symbol different?

477


What is rails active record?

462