Skip to main content

Jim Driscoll

Jim Driscoll has been at Sun for over 13 years, ever since he joined JavaSoft to work on the Java Web Server and the first version of Servlets. At various times, he has been the manager of the J2EE RI, the Java Web Services Developer Pack, and a host of Open Source, web and XML projects that Sun has either participated in or led. His current job title is Senior Engineer, on the JavaServer Faces team, and he has been specializing in Ajax. He lives and works in the southern part of the San Francisco Bay area.


driscoll's blog

JSF 2.0: The Switchlist example

Posted by driscoll on November 29, 2008 at 11:05 PM PST

You've seen this component before: two lists, with buttons that let you move options from one list to the other.

Another JSF 2.0 Ajax Component: Editable Text

Posted by driscoll on November 23, 2008 at 5:45 PM PST

I was sitting in at a talk on Ajax components the other day, and they mentioned the Flickr style editable text. For those who've never experienced the Ajax joy that is Flickr, it's a web based photography site. When viewing your own pictures, text such as the titles of your photos appears just as plain text, just as it does for other people's photos.

JSF 2.0: Writing fully reusable Spinner Component

Posted by driscoll on November 13, 2008 at 12:48 AM PST

In my previous blog postings, I talked about making the Spinner component, and then added styles via an external css file.

JSF 2.0: Adding Styles to the Spinner Component

Posted by driscoll on November 9, 2008 at 4:41 PM PST

In my last blog, I wrote a simple spinner component. In this posting, I'll add styling to it using the outputStylesheet tag, and a separate css file.

The <h:outputStylesheet/> tag is a way to output a cached stylesheet instance to a JSF page - just use it with a "name" attribute, where the name is the name of a css file in the resources directory of your web app.

JSF 2.0: Writing a Spinner component

Posted by driscoll on November 8, 2008 at 3:56 PM PST

In a previous posting, I described the basic structure of a JSF 2.0 composite component.

Here's a slightly more complex example of writing a component using JSF 2.0's Composite Component feature.

A simple Ajax JSF 2.0 example

Posted by driscoll on November 4, 2008 at 5:24 PM PST

In my previous blog post, I talked about the New Composite Component feature of JSF. I'll come back to that shortly, but I'd like to talk about another new feature: integrated Ajax support.

Writing a simple Composite Component with JSF 2.0

Posted by driscoll on November 1, 2008 at 11:46 AM PDT

One of the pain points for JSF has always been the complexity that you face in creating components. In JSF 2.0, creating a new component that's made up of existing components is a snap.

Here's a quick example of how you can create a new component, and use it in your page.

For this example, I wanted to create a simple text box that has a yellow background. Useful? No. Simple?

Announcing the JSF 2.0 EDR2 Release

Posted by driscoll on October 21, 2008 at 12:31 PM PDT

The Mojarra Project is proud to announce the release of the JSF 2.0 EDR2 implementation.

"EDR" stands for Early Draft Review, so this is an early snapshot of what we're doing with the new version of JSF.

Dependency Managment with Glassfish Updatecenter and IPS

Posted by driscoll on October 1, 2008 at 3:23 PM PDT

In a previous blog on the topic, I talked about creating a Glassfish Update Center Module.

The example I used didn't have any notion of dependencies. This is fine for the very simple case, but obviously most pacakges actually rely on other packages as well.

Writing a Glassfish v3 Updatecenter module

Posted by driscoll on August 27, 2008 at 4:05 PM PDT

I just finished writing a Glassfish v3 update center module. It's a fairly different process from v2, which I also blogged about, so I thought I'd detail what's necessary to do it.

Now, it's still early days, so some of these details are going to change.