JRuby on Rails on Glassfish - code camp (II)
In an earlier post, I talked about my takes from a JRuby on Rails on Glassfish code camp we have run. Thanks a lot to Astrails, who have supported and lead the Ruby/Rails side of the code camp. They are also hosting the code camp disk image, available for download (thank you, Boris).
I am making the code camp content available here, thought it might help with a quick getting started with JRuby, Rails and Glassfish, all integrated with the Netbeans IDE and ready to run as a VirtualBox disk image (OpenSolaris 11.08 guest OS), and enjoying the goodies of OpenSolaris (DTrace, to name just one). Just install VirtualBox (no further installations needed – all needed software is already installed inside the image) on Windows, Mac or other, set and start the disk image (see directions). You can then follow the exercises or just explore the environment.
And note that the compressed disk image is ~1.5GB (more than 4GB after decompression). I am not sure whether it should have been better to split it into a few parts. Anyway, I will see if it works for people...
Login to the OpenSolaris image with user 'Britney' (yes, with uppercase 'B', don't ask why...) and the password is just '1'. No password is required to switch user to root.
-
Virtual Disk Image (VDI, compressed, ~1.5GB) - here
-
VirtualBox installation and configuration (document)
-
Exercises
-
Exercise 1 - Hello
-
Exercise 2 - Scaffold and Decoration
-
Exercise 3 – Java2D - Using Java Classes (Java2D) to process images
-
Exercise 4 - JRuby Debugging
-
Exercise 5 - DTrace (C Ruby)