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



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

Answer / 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

More Ruby on Rails Interview Questions

what is the difference in scope for these two variables: @@name and @name?

0 Answers  


am new to ruby. tell me one thing. i can view my project on browser when i write "ruby script/server". otherwise i cant view my project on localhost. what i have to do to view my project always on browser? pls help

5 Answers  


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

0 Answers  


Tell me what is orm (object-relationship-model) in rails?

0 Answers  


What are rails validation used for?

0 Answers  






What is the difference between Render vs. Redirect_to in ruby on rails ?

0 Answers  


Explain the role of sub directory app/controllers and app/helpers.

0 Answers  


what is the difference between the Observers and Callbacks in Ruby on Rails?

0 Answers  


Explain testing in rails.

0 Answers  


what is rails caching?

0 Answers  


Whats the difference between symbol and string?

2 Answers  


what is the command to create a migration?

0 Answers  


Categories