Oracle GlassFish Server 3.0.1 Scripting Framework Guide

ProcedureTo Run a Rails Application That Uses Java 2D Code

  1. Deploy the application on the GlassFish v3 Gem:

    asadmin deploy imageprocess
  2. Run the application by entering the following URL into your browser:


    You should now see an image and a link that says, “Perform a ColorConvertOp on this image.

  3. Click the link.

    You should now see a grayscale version of the image from the previous page.