Documentation Home
> Getting Started With JRuby on Rails for Sun GlassFish Enterprise Server v3 Prelude
Getting Started With JRuby on Rails for Sun GlassFish Enterprise Server v3 Prelude
Book Information
JRuby on Rails in GlassFish Tutorial
Introduction to JRuby and Rails on the Sun GlassFish
What is Ruby on Rails?
What is JRuby?
JRuby on Rails, the Sun GlassFish Enterprise Server v3 Prelude, and the GlassFish v3 Gem
Installing JRuby and Required Gems
Downloading and Installing JRuby 1.1.4
Installing Rails on JRuby
Installing the GlassFish v3 Gem
Creating a Simple Rails Application
Creating the hello Application
Creating the Controller and View
Passing Data From the Controller to the View
Using Rails Without a Database
Deploying and Running a Rails Application
Deploying a Rails Application as a Directory
Deploying a Rails Application to the GlassFish v3 Gem
Accessing a Database From a Rails Application
Setting Up the MySQL Database Server
Creating a Database-Backed Rails Application
Deploying and Running the Database-Backed Web Application
Accessing Java Libraries from a Rails Application
Creating the Rails Application That Accesses Java Libraries
Creating the Views That Display the Images Generated by Java2D Code.
Adding Java2D Code to a Rails Controller
Running a Rails Application That Uses Java 2D Code
Configuring JRuby Runtime Pool
Introduction to Warbler
What is Warbler
Creating and Deploying a Simple Rails Application with Warbler
Creating a Rails application
Deploying the war file
Further Information
© 2010, Oracle Corporation and/or its affiliates