Shin and Brian
Leonard are starting a new free online course
of "Ruby, JRuby and Rails Application Development
(with Passion!)". The course is taken online and
will start from Jul 15, 2008.
The objective of this course are "This
course will go through briefly the basics of Ruby (and JRuby)
programming language first. The rest of the course will be
devoted to learning Rails...
on May 21, 2008
One of the main advantages of using JRuby-on-Rails instead of
Ruby-on-Rails is to harness the power of Java libraries available in
the Java platform. The Java 2D
API is a set of classes for advanced 2D graphics and imaging,
and provides extensive support for image compositing and alpha channel
images, a set of classes to provide accurate color space definition and
conversion, and a rich set of...
on May 19, 2008
During JavaOne I heard about Lift - a Scala web framework and wanted to try it.
It claims to provide best of Rails(simple and fast development), Seaside(security), Django(access control by default)
and uses Wicket for view templates. In few steps I had my first Lift
web application running on GlassFish v3.
Lift applicatin development process is Maven based and uses Derby as the default...
on May 16, 2008
packaging and dispatching of Rails application on Java Application
Servers is going through third iteration based what is used for
packaging and dispatching:
Goldspike + RailsServlet: The first iteration was
WAR-packaging of Rails app as defined by Goldspike
plugin (nee Rails-integration) and using RailsServlet (part
of Goldspike) for dispatching.
Warbler + RailsServlet: The...
on May 15, 2008
We now have a mailing list - firstname.lastname@example.org and forum dedicated to discuss user issues for the webtier of GlassFish. The intent is to use the mailing list and forum for discussing the webtier technologies including Servlets, JSP, JSF, JSTL, Grizzly and scripting support in GlassFish and build a community that focuses on webtier of the Java EE platform. Cross-posting from one to...
on May 14, 2008
In my previous post I described some of the pluggability mechanism being added to the servlet 3.0 specification. One of the issues that I didn't touch upon in detail was how the annotations and web-fragments are processed and how can one override / turn off the auto scanning of annotations and web-fragments.
Greg Wilkins from Webtide blogged
about the pluggability mechanism and raised an issue...
on May 14, 2008
In my earlier post I gave an overview of the things that are being worked upon in Servlet 3.0. This post focuses on one of the areas that the expert group has been working on - pluggability.
There are a lot of frameworks / libraries that are built on top of the servlet container. Most frameworks today require you to configure a servlet, filter or listener in the application's web....
on May 13, 2008
Last week at Community One day, the jMaki session included a couple of speakers from the community. It is great to see jMaki used in the real world.
We had four speakers at our session and I'll admit it was a lot given we only had an hour. But I was excited to include both Jennifer Myers and Daniel Ziaoure since they are both using jMaki in their projects.
The session was divided as...
on May 12, 2008
To prepare for our JavaOne session, GWT and jMaki: Expanding the GWT Universe, I decided I should add a jMaki Yahoo widget to a GWT application. Here is what I did.
I wanted to start with an existing application and I chose the Java PetStore demo application which Greg had rewritten using jMaki widgets and GWT. The code for that application is in the jmaki-store project along with a README...
on May 12, 2008
on May 7, 2008
In my previous blog, I mentioned that I didn't like the hack of reloading the iframe via the post action - it's hacky, and it's not hard to imagine it messing things up in a more complex program.
Turns out the answer is both easy and blindingly obvious once you think of it: the iframe onload event. And while we're add it, we'll add a onerror event too.
In my previous program, I had had a...
on May 5, 2008
A newer version of GlassFish
v3 Gem for Ruby
on Rails is now available.
What's new ?
Codebase aligned with GlassFish
v3 Technology Preview 2
Previous version (0.1.2) had some packaging issues which
increased the size but now it's back to sweet 2.8 Mb.
Check if previously installed by using the following command:
>bin/jruby -S gem
on May 4, 2008
JRuby module in GlassFish v2 UR2
It now contains JRuby 1.1.1 + Rails 2.0.2 and Warbler (instead of
Goldspike) for packaging the app.
Read all details on how to download, install and getting started here.
The image below shows a snapshot of Update Center with the latest
After following all
the steps (had to manually set executable perms on
on May 3, 2008
I was looking at a recent blog by Shing Wai Chan and going through the Comet example, when I noticed that the example wasn't working correctly. Although he updated his example to get around that problem, I was still a bit unsatisfied, and decided to sit down, using his basic example, and see if I could make it even simpler.
I've whittled it down to about 100 lines, and only 2 files, and I...
on May 1, 2008
Update: The early draft of the specification is now available at the JCP site. Click here to get to the draft.
It's been a while since I put a post on the blog so I thought I would take this opportunity to give an update on the servlet 3.0 specification. The expert group has been working through to enhance the APIs in the servlet specification. This blog is to give an update to the developers...
on Apr 30, 2008
Community One day and JavaOne are just around the corner. Community One day is a free event so we hope you will come out and learn about jMaki, GlassFish and NetBeans.
Come to Moscone Center on Monday May 5 for many interesting sessions.
Greg and I will be speaking along with some folks from the community.
Session: jMaki: The power of Ajax made easy.
Time: 12:25- 1:20
Room : Hall E, 133...
on Apr 29, 2008
Sample Store Catalog using using Groovy and Grails
This Catalog Sample app demonstrates the usage of Groovy and Grails to
implement pagination of data sets for a Store Catalog.
download Catalog sample code
Overview of the Technologies and Frameworks in the Sample Application
Grails aims to bring the
"coding by convention" paradigm to Groovy. It's an open-source web...
on Apr 28, 2008
powered by the GlassFish Application Server explains all the
benefits of using GlassFish for developing and deploying your Rails
applications. If you are using NetBeans
6.1 builds then you can deploy your Rails application
directly on GlassFish
v3 from within NetBeans
IDE. No longer you need
to have different development and deployment options.
This blog explains how to install a bleeding...
on Apr 28, 2008
#30 explained how to create CRUD application using Grails and hosted using
in-built Jetty servlet
engine and in-memory HSQLDB
database. Jetty and HSQLDB are built into Grails and allows to start easily.
You can also use GlassFish and
MySQL for deploying your applications in
This blog entry walks you through the steps of deploying a Grails
application on GlassFish...
on Apr 23, 2008
After a simple
Grails application, let's create a CRUD
application. Such an application allows to perform basic database
operations to read table rows from the database, create new rows, and
edit and delete existing rows. This blog shows how such an application
can be created using Grails, hosted on built-in Jetty servlet engine
and use in-memory HSQLDB
database for persistence.
on Apr 22, 2008