Rails for Java Developers Sample Code
This sample code accompanies the book Rails for Java Developers and conference presentations by the authors,
Stuart Halloway and Justin Gehtland The code is organized as follows:
Ruby and Rails code
- The people directory is a trivial "Hello, World" Rails app.
- The rails_xt directory is a grab bag application that demonstrates various features of Rails. The samples subdirectory contains Ruby language examples.
- The Rake directory demonstrates Ruby Rake in comparison with Apache Ant.
Java Code
Java Code is included for comparison purposes, so you can see the different approaches taken by traditional Java web frameworks and Ruby on Rails.
- The appfuse_people directory contains a simple Java CRUD application implemented using AppFuse, Struts, Hibernate, et al.
- The commons-lang-2.1 directory contains excerpts from the Apache Commons Lang project.
- The hibernate_examples directory demonstrate Hibernate persistence.
- The java_xt, junit4, and Language directories show various core Java language and library features.
Feedback
Please report errata to the authors.