29 Mayıs 2011 Pazar

Why you need to move from Java to Ruby on rails?

By Amit Sarkar


Ruby on Rails framework offers a number of advantages over Java development stack and many Java developers after experiencing years of frustration due to Java complexity now finding Ruby on rails is more suitable for web application development for a number of reasons. Some of the benefits of Ruby on rails over Java are listed here.

Without resorting to code generation techniques Rails uses the dynamicity of Ruby to advantage and produce 4GL-like effects. Ruby on rails increases productivity increases to upto ten folds over modern Java methodologies (e.g., J2EE, Struts, etc.).

Java development model for web applications is needlessly complex. Like Smalltalk Ruby Ruby significantly increases productivity. However, Ruby is more suitable for speedy development of web application development. In short, Rails leverages Ruby to bring web application development back closer to the productivity of productive non-web application development frameworks.

While developing Rails applications you only need few lines of specification to identify each database connection and a line of configuration for each different type of routing. Only few lines of code required in a rails application whereas thousands of lines of XML configuration (many of which are strongly-coupled across application layers) is required for a typical Java applications required.

Few lines of codes not only increases productivity but also reduces maintenance cost. When you make a change at one layer, changes propagate through code in other layers. This particular benefit solves the problem associated with "model-view-controller (MVC)" architecture.

Your changes to the system are made instantly available for use and testing and this is another great benefit of rails as it targets zero turnaround time. Java, in some instances, only approaches zero turnaround time development while attempting to compile and deploy in the background with certain IDEs in certain environments. On the other hand Rails cycles for development, deployment, and the container restart. A very large Ruby on rails application can be built in few weeks as opposed to months of coding in Java.




About the Author:



Hiç yorum yok:

Yorum Gönder