Documentation Home
> Oracle GlassFish Server 3.0.1 Scripting Framework Guide
Oracle GlassFish Server 3.0.1 Scripting Framework Guide
Book Information
Preface
Chapter 1 Using JRuby on Rails With Oracle GlassFish Server
Introduction to JRuby and Rails on Oracle GlassFish Server
What Is Ruby on Rails ?
What Is JRuby ?
JRuby on Rails, GlassFish Server, and GlassFish v3 Gem
Installing JRuby and Rails
To Install JRuby and Rails Using Update Tool
To Install JRuby in Standalone Mode
Configuring JRuby for GlassFish Server
Configuring the JRuby Container
Configuring JRuby Deployment Options
Configuring the JRuby Runtime Pool
Configuring the JRuby Container Through GlassFish Server Administration Console
To Configure JRuby Container from the GlassFish ServerAdministration Console
Creating a Simple Rails Application
To Create the hello Application
To Create the Controller and the View
To Pass Data From the Controller to the View
To Use Rails Without a Database
Deploying and Running a Rails Application
To Deploy a Rails Application as a Directory Using the asadmin Command
To Run a Rails Application From the GlassFish Server autodeploy Directory
Accessing a Database From a Rails Application
To Set Up the MySQL Database Server
To Create a Database-Backed Rails Application
Accessing Java Libraries From a Rails Application
To Create the Rails Application That Accesses Java Libraries
To Create the Views That Display the Images Generated by Java2D Code
To Add Java2D Code to a Rails Controller
To Run a Rails Application That Uses Java 2D Code
Monitor Rails Applications on GlassFish Server 3.0.1
Monitoring for JRuby Container
Viewing JRuby Container Statistics
GlassFish v3 Gem
To Install the GlassFish v3 Gem
To Run a Rails Application on GlassFish v3 Gem
To Deploy and Run the Database-Backed Web Application
Using GlassFish v3 Gem CLI
Introduction to Warbler
What Is Warbler ?
Creating and Deploying a Simple Rails Application with Warbler
To Create a Rails Application
To Deploy the WAR File
For Further Information
Chapter 2 Developing Grails Applications
Introduction to Groovy and Grails
Installing Grails
To Install the Grails Module
Creating a Simple Grails Application
To Create the helloworld Application
To Create the hello Controller
To Run a Grails Application Using Standard Deployment
Chapter 3 Jython on Django
Overview
Installing Jython and Django
To Install Jython as Standalone
To Install Jython from Update Tool
To Install Django
To Install the Jython Container for Oracle GlassFish Server
To Install Jython Support Libraries for Django
Creating and Deploying a Simple Jython Application using Django
To Create a Simple Django Project
To Deploy a Django Application From the Command Line
asadmin CLI for Jython
Using the Django Administration Utility
Further Information
Chapter 4 Scala and Lift
Using Scala and Lift
Chapter 5 PHP
Enabling PHP on OracleGlassFish Server
To Deploy the Quercus PHP Interpreter to the GlassFish Server
© 2010, Oracle Corporation and/or its affiliates