and I presented on GlassFish/JRuby
to a partner in San Francisco a few days ago. Here are the questions
asked during the session:
running the Ruby tests show the green/red status bar ?
status bar is shown if the test is run as a test, not as a file. (for
example, using Ctrl+F6, not Shift+F6). Ctrl+F6 can also be invoked on
the tested class
and it will...
on Jan 8, 2008
Pramod published an updated JRuby
Gem for GlassFish v3. Download the gem here.
Here are the updates from last
The Gem is now smaller - 2.4 MB instead of 2.9 MB (approx
The Gem is now using the latest v3 codebase, including
Grizzly JRuby module 1.6.1.
2 Rails instances are created instead of the default one.
So now 2 requests can be invoked in parallel and they both will be...
on Jan 5, 2008
my role of Technology Evangelist, I get the opportunity to meet a lot of
community (folks like you :) all around the world. In the year 2007, I
(and related technologies - Metro,
jMaki and Jersey)
conferences. This blog introduces a new real-life
application that plots all the places I visited this year on a
Google Map widget. Clicking on...
on Jan 1, 2008
In a joint effort with the ExtJs toolkit team, the jMaki wrappers for the ExtJs 1.1 toolkit are now available, jmaki-ext-1.0.1.zip. Included are wrappers for the menu, grid and tree widgets from the ExtJs toolkit. The wrappers support the jMaki data and event models as described on our wiki.
You have several options for including the widget library in your application. If you use NetBeans...
on Dec 27, 2007
JRuby 1.0.3 was recently
released and so was Rails
2.0. I decided to try JRuby 1.0.3 + Rails 2.0 and realized
that a few additional steps (because of Rails 2.0) are required to get
a trivial Hello World
applcation up and running. Here are the steps:
Make sure to set JAVA_HOME and JRUBY_HOME.
Also include JAVA_HOME/bin and JRUBY_HOME/bin in PATH for
on Dec 21, 2007
dojo 1.0 Presentation slides and Sample code
utilities that go beyond Ajax.
This Presentation and Sample code demonstrates the usage of dojo
1.0. The material for this presentation and code comes from the
book of dojo at: http://dojotoolkit.org/ .
the dojo 1.0 slides and...
on Dec 21, 2007
jMaki, a client server framework for creating Ajax web applications, is how shipping release 1.0.3. This release contains several bug fixes, and integrates Yahoo UI 2.4 release. In addition, one of the developers, Ahmad Zawawi, wrote a test harness using JS/glue/JSP and updated the the Yahoo and Dojo unit tests to run in the test harness. Now we can run the unit tests automatically....
on Dec 17, 2007
updated the JRuby-on-GlassFish module on the
GlassFish Update Center with
Rails 1.2.6 and
Goldspike revision 808.
I created a standalone (self-contained with all the libraries, gems &
plug-ins) and shared (contains only web.xml and libraries
are loaded from the Application Server instance) WAR image for the bundled
Hello World sample. The
screencast #web9 provide...
on Dec 17, 2007
I presented on GlassFish and other
related technologies (Metro,
Bangalore, Chennai and Pune
week. The slides used during the preso are
here. And here is the list of questions (along with answers) for you:
What does WSIT offer ?
WSIT stands for Web Services
Interoperability Technology. It is a component of
Metro - the Web services stack in
on Dec 13, 2007
This TOTD explains how to create a new jMaki
widget and make it available in the NetBeans
In order to create a jMaki widget, it's important to understand the
Basically, "component.htm", "component.js" and an optional "component.css"
together make a jMaki widget.
Here are the files for a Hello World widget that takes an...
on Dec 12, 2007
I've contributed a little persistence framework to WicketStuff.
Basically, over the summer I needed to write a couple of web applications. My friend Jon suggested I try out db4o, an object database.
One of the things I like about Wicket is its simplicity - no XML config files, straightforward HTML that maps to components, and every component has a Model that represents one object. One of the...
on Nov 29, 2007
I presented on Metro,
JRuby-on-GlassFish at a partner meeting on Nov
21 in Toronto and Montreal (yeah, both cities in the same day). That
makes it 3 cities (the first one being
Seattle) total for now!
I've given multiple talks all over the world to different types of
audience but this was my first experience in terms of talking for 3
hours in the morning, flying to...
on Nov 28, 2007
Jerome posted the
instructions to build
GlassFish v3 Gem for JRuby - very simple and easy. A binary version of Gem
Subversion client (for example
JRuby 1.0.x (I used
and lets say installed in JRUBY_HOME). Make sure
JRUBY_HOME/bin is in your path.
Build the Gem
As explained in
on Nov 19, 2007
jMaki 1.0.1, a client server framework for creating Ajax enabled web applications, is now available. This release contains many bug fixes. Some of the fixes include support for server side internationalization, updates for Ruby templates and updates to the command line tool support.
Try out the new release and let us know what you think.
on Nov 17, 2007
Earlier Post, I described how Mephisto
(a popular web publishing system based on Ruby on
Rails) can be deployed on
Both JRuby and GlassFish has matured since then and this post will provide
the updated instructions to deploy Mephisto using
GlassFish v3 Gem.
Here are the exact steps:
Install and Configure JRuby 1.0.2. The GlassFish v3 Gem does not work on
on Nov 15, 2007
JRuby 1.0.2 was released
A total of 99 issues were fixed but I'm particularly excited
JRUBY-1410. These are
some issues that I faced (1347
here) on my primary development machine - Windows.
Here is the status report:
On Windows only, the latest Rails gem (1.2.5) is now working
with stable release of...
on Nov 9, 2007
This screencast shows how to create a simple
jMaki application, using
NetBeans IDE, that performs
some of the
CRUD operations on a Data Table widget. It uses Java Persistence API
(JPA) to connect to the database and the application is deployed on
GlassFish. The rest of the CRUD
operations can be easily built using the same methodology.
followed in this...
on Nov 8, 2007
Previous Entry explained how a Data Table widget can be populated from a
database using Java Persistence API (JPA). This TOTD extends that entry and
explains how a selected row from the Data Table can be deleted from the
database. This entry is created based upon a requirement from Dave Briccetti at
Silicon Valley Code Camp 2007 last weekend.
The first part of the entry is also a re-write of...
on Nov 4, 2007
Earlier in the year we had
pre-announced that we would be doing a JSP sub-project to encourage re-use and contributions from external developers. Today we would like to officially announce the availability of the JSP project. For more details about the project and how you can participate / contribute please visit https://jsp.dev.java.net. We would like to encourage people trying to build around...
on Oct 30, 2007
Adding a Google Map to the Sample JSF Catalog Application
This example demonstrates adding a Map to the Sample
Store Catalog Application using JAX-WS, JSF, EJB 3.0, and Java
using the BluePrints
JSF Google Map Viewer Component.
the Sample Application Code
Explanation of the functionality of the Blueprints JSF Ajax Map
Component in a sample Store Catalog Application
on Oct 19, 2007