small medium large xlarge

Rails for Java Developers


Cover image for Rails for Java Developers

Rails for Java Developers


Many Java developers are now looking at Ruby, and the Ruby on Rails web framework. If you are one of them, this book is your guide. Written by experienced developers who love both Java and Ruby, this book will show you, via detailed comparisons and commentary, how to translate your hard-earned Java knowledge and skills into the world of Ruby and Rails.

About this Title

Pages: 336
Published: 2007-02-01
Release: P1.0 (2007-02-12)
ISBN: 978-0-9776-1669-5

If you are a Java programmer, you shouldn’t have to start at the very beginning! You already have deep experience with the design issues that inspired Rails, and can use this background to quickly learn Ruby and Rails. But Ruby looks a lot different from Java, and some of those differences support powerful abstractions that Java lacks. We’ll be your guides to this new, but not strange, territory.

In each chapter, we build a series of parallel examples to demonstrate some facet of web development. Because the Rails examples sit next to Java examples, you can start this book in the middle, or anywhere else you want. You can use the Java version of the code, plus the analysis, to quickly grok what the Rails version is doing. We have carefully cross-referenced and indexed the book to facilitate jumping around as you need to.

Thanks to your background in Java, this one short book can cover a half-dozen books’ worth of ideas:

  • Programming Ruby
  • Building MVC (Model/View/Controller) Applications
  • Unit and Functional Testing
  • Security
  • Project Automation
  • Configuration
  • Web Services

Rails for Java Developers is the fast track for Java programmers who are learning or evaluating Ruby on Rails

Read the reviews .


Justin Gehtland is a founding partner of Relevance, LLC. Justin has been a programmer, manager, consultant and trainer in the software business since 1994. He’s currently focused on Ruby, Ruby on Rails, and Ajax. Justin is the co-author of Pragmatic Ajax, Spring: A Developer’s Notebook, J2EE In a Nutshell (3rd Edition), Better, Faster, Lighter Java, and Effective Visual and Windows Forms Programming in Visual Basic .NET.

Stuart Dabbs Halloway is a co-founder of Relevance, LLC. Stuart is the author of Component Development for the Java Platform and regularly speaks at industry events including the No Fluff, Just Stuff Java Symposiums and the Pragmatic Studio.