7 of 8 people found the following review helpful:
4.0 out of 5 stars
Great for Java developers wanting to get started with JRuby, November 15, 2007
This review is from: Practical JRuby on Rails Web 2.0 Projects: Bringing Ruby on Rails to the Java Platform (Expert's Voice in Java) (Paperback)
I am not in this book's target audience. Whereas the book is aimed at experienced java developers who are just getting started with rails and want to take advantage of JRuby, I've rarely touched Java but have lots of ruby and rails experience and am interested in JRuby mainly to see where I might be able to take advantage of java libraries, or ship my ruby apps into new contexts. In that respect, the book was helpful but there's probably space for a companion volume for people like me.
The book takes a measured pace, introducing Rails early on and then building in different components from the Java world as it works through four different projects. Use of JDBC within a rails app, calling ruby code from Java, deployment strategies, packaging a Rails app as a .jar that can be dropped into an application server, and making use of java for interfacing with SOAP web services are all covered.
Readers will probably need to spend some time experimenting with each feature to really get comfortable with them, but the book works well to get you started and point in the right direction. The introduction to Ruby and Rails is a case in point, as Ola dives right in to his examples after a brief lead-in. That may work well for experienced developers who will enjoy exploring the accompanying code, but it is worth being aware of.
It did feel like there were some missed opportunities later in the book, particularly in the final project, to introduce more of Rails' "RESTful" features since that example really invited that style of design, and it would have been interesting to have some discussion of the pros and cons of treating the libraries built to interface with external services as models within a rails app, making the interface more transparent.
I'm also not quite sure where the "Web 2.0 Projects" line in the title comes from. The final project interfaces with amazon web services, which I suppose might get thrown onto the "web 2.0" bandwagon, but don't go into the book expecting a series of stereotypical "web 2.0" projects. It's an introduction to JRuby on Rails for Java developers, whatever approach to the web they may be taking.
JRuby is a really exciting technology that promises to help developers take another step towards picking technology based on their projects, not just the platforms their organisations may have standardised on over the past decades. If you're a java developer wanting to learn how to make use of JRuby and looking for some help to get up and running, this book is likely to give you just that.
Disclaimer: I was sent a copy of this book for review by the publisher.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
2 of 2 people found the following review helpful:
4.0 out of 5 stars
Really good book. (Just a bit old), April 13, 2010
This review is from: Practical JRuby on Rails Web 2.0 Projects: Bringing Ruby on Rails to the Java Platform (Expert's Voice in Java) (Paperback)
It is a really good book. Just a bit old. If only the author would update it.
Still recommend it if you are looking to get a head state on jruby. You will run into a few surprises once you download and install the latest rails but nothing you cannot overcome am sure.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
4 of 5 people found the following review helpful:
5.0 out of 5 stars
Huge Timesaver, November 11, 2007
This review is from: Practical JRuby on Rails Web 2.0 Projects: Bringing Ruby on Rails to the Java Platform (Expert's Voice in Java) (Paperback)
Over the past several months I have spent a lot of time searching the internet for information on JRuby, specifically looking for ways to have Ruby on Rails host Ruby powered applets. I thought I been fairly successful at gathering information until I read this book, and realized how much information I had missed. If you are working on building a production quality application or just want to learn what you can do with the current state of JRuby on Rails, try this book. It will help get you on track right away while avoiding many of the 'gotchas' that come with using Rails on JRuby.
You will need to have a good understanding of Ruby, and prior experience with Rails would be very good too. I did encounter a few issues where a few commands listed in the book did not work, but JRuby and Rails being actively under development make problems like that unavoidable.
This book would make a good companion for the Pragmatic Programmer's Pickaxe book as well as their Agile Development with Rails book. The projects in this book are definitely more fun than the store in the Agile Rails book.
Agile Web Development with Rails, 2nd Edition
Programming Ruby: The Pragmatic Programmers' Guide, Second Edition
Finally, remember that one of the best ways to support open source projects like JRuby is to buy the book (written by a core developer of the project).
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No