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 is active record?

531


What are class libraries?

485


Explain the features of ruby on rails.

454


What is the flash?

483


Explain what are the servers supported by ruby on rails?

443






who developed rails?

532


How is visibility of methods changed in ruby (encapsulation) ?

476


what is Rails Active Record in Ruby on Rails?

538


Explain view in rails?

480


What is the purpose of load, auto_load, and require_relative in ruby ?

458


what is the difference between new, save and create?

518


Explain what is the role of the subdirectories app/controllers and app/helpers in rails?

489


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?

450


Explain model in rails?

470


How is dynamic scaffolding different from static scaffolding?

451