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

If you want to set up a one-to-one relationship between two models, you'll need to add belongs_to to one, and has_one to the other. How do you know which is which?

0 Answers  


Explain me what is the function of orm in ruby on rails?

0 Answers  


What is the difference between sessions and flash?

3 Answers  


Tell me what is rails migration?

0 Answers  


Explain rest in rails routes.

0 Answers  






What do you understand by rails migration and what it can do?

0 Answers  


how you can list all routes for an application?

0 Answers  


how you can run Rails application without creating databases?

0 Answers  


How can the filter methods in ruby on rails be protected?

0 Answers  


what is the command to create a migration?

0 Answers  


how does ruby on rails use the model view controller (mvc) framework?

0 Answers  


Do you know what is rake in rails?

0 Answers  


Categories