JRuby: Who says fish and paws can't be both?

Source: Internet
Author: User
Tags ruby on rails

I remember talking to my friends about my recent writing in Ruby, and most of them would have a curious look and ask me what Ruby is. But now, this should not happen, Ruby on Rails has long been a hot topic for discussion, it has brought Ruby to the spotlight, and more and more people are starting to use Ruby and even fall in love with the language.

If you're a Java developer, there's certainly a question about trying Ruby and rails in a real project: Do I have a lot of legacy Java resources, such as EJB and Java libraries, that are used in new projects, or are they discarded? Some problems are obviously better with Java solutions, can you combine Ruby and Java? Try JRuby, you will unlike, who said the fish and bear cake can not be both? If you're a ruby developer, it's best to take a look at JRuby, and you'll find that the Java world is just as wonderful. For example, the current lack of high availability of the solution, which is a lot of large traffic sites do not hesitate to use it the main reason, but the JRuby way to deploy, can take advantage of a lot of mature Java solutions to solve their worries.

Although Java is already a very mature "old technology", Ruby is no longer a new technology, but JRuby is a "new technology." Whether you're a Java Developer with years of development experience or Ruby Developer,jruby, there are so many new things worth learning and figuring out. JRuby seamlessly "combines" the advantages of Java and Ruby to make our development more efficient.

When it comes to JRuby's study, I think there's a book worth mentioning.--practical JRuby on Rails Web 2.0 projects:bringing Ruby on Rails to Java. As the first book in the field, it gives countless jruby learners a firsthand valuable information, well received by readers. The author of this book, Ola Bini, is a core member of the JRuby development team, and the authority of this book is unquestionable. It jruby a lot of things to the reader with a 4-to-one project, combining rails, such as how to invoke Java code in Ruby, how to use the Java library, how to implement and access EJBs, how to manipulate JMS, How to invoke Java classes and interfaces implemented by Ruby in Java, and so on, by learning this book we can even use JMX to manage rails applications, it's amazing! The code given in this book is of practical value and can be put into real projects with a little processing. This book is a perfect fit if you need something to use.

The final appendix of this book collates the common syntax and some other things of Ruby and JRuby, though not as complete as a reference manual, but it should be more than enough to handle everyday business.

Such a good book, worthy of every JRuby developers to learn and reference, in the community, a lot of friends of the strong request, the people's post and telecommunications publishing house Turing company introduced and published the book (Chinese title for "JRuby actual combat"). As with its original version, this book is also the first JRuby class books in China, I believe it will not bear the hope of everyone.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.