Skip navigation

One of my side-jobs at Sun is shepherding JSR-303 into Glassfish. Because JSR-303 spec lead does such a fantastic job leading the spec, and JSR-303 RI lead Hardy Ferentschik does such a fantastic job implementing it, it's pretty easy. My boss requested I write up a Wiki page describing the integration work, which can be seen here. The most useful part, of course, is the fact that Glassfish V3 Preview has full support for version 1.0.CR2 of Bean Validation. If are using Glassfish V3 Preview, and you have code that depends on javax.validation classes, you can use this maven repository information to satisfy your compile time dependencies.

<dependency>
  <groupId>org.glassfish</groupId>
  <artifactId>bean-validator</artifactId>
  <version>3.0-JBoss-4.0.0.Beta1-b01</version>
  <scope>provided</scope>
</dependency>

JSR-314 EG Member Dan Allen contributed a simple demo to the Mojarra project, the source code for which can be checked out from svn url <https://mojarra.dev.java.net/svn/mojarra/trunk/jsf-demo/bean-validator>. This demo depends on the version of JSF included with GlassfishV3 preview.

Technorati Tags: edburns

Well, even though this webinar was performed for about 60 people and recorded live on 14 May 2009, and the slides were published that same day, it's taken much longer to get the recording published.  I want to make clear the delay was not the fault of the recording or web publishing team, just that I've been busy.  The content is still 100% relevant, considering that the spec only officially went final on 1 July 2009.

To view the video, go to the excellent Glassfish Resources Page at <http://www.sun.com/glassfish/resources/> and look for the link titled “JavaServer Faces 2.0: A Complete Tour”, it's at the bottom of the page.

If you have comments or questions about the webinar, I'd appreciate you posting them here so I can be sure to see them.

  Technorati Tags: edburns

I had a brief conversation with Cay Horstmann during JavaOne at which I was eager to hear his list of gripes about JSF.  Before I get into the content, I have to say I don’t know why people feel compelled to be unprofessional when they talk about this stuff.  What can be gained by starting out a conversation with, “So I went through Core JSF and looked for all the Derogatory comments about how stupid the so-called expert group was...”?  Granted, he follows up with, “and it wasn’t as bad as I remembered”, but still, if you’re going to be colloquial, why start out unprofessional about it?  Thankfully, the rest of the conversation mostly sticks to the technical content.  If you haven’t been to JavaOne, this is an example of a typical hallway conversation that I end up having there.

Here are Cay’s points from the conversation.  The raw audio is available at <http://mediacast.sun.com/users/edburns00/media/20090602-cay-horstman-jsf2-hallway-conversation.wav>.

     
          
  • Inconsistencies regarding converter and validator tags        regarding when they sometimes take an id, sometimes take a        method reference, sometimes they take a class name...       

  •       
  • Methods in Mojarra that are needed by application        developers.  Look at the common things that every app        developer needs, put it into the API.

  •       
  • Injection.  We have the annotation on the field, but it        really acts on the setter.  This will confuse people.

  •          
  • Internationalization of Resources.  Current design is           broken in the following way: it doesn’t have a natural local           fallback mechanism as the normal ResourceBundle does.          

  •          
  • Different Viewpoints for the JavaDoc: app developer,           component developer, etc.

  •          
  • Love the color coding in the Javadocs.          

  •          
  • TLDDocs missing some content (mostly fixed now).          

  •          
  • Cay suggests a “fit and finish JSR” for JSF.          

  •      

Technorati Tags: edburns

Filter Blog

By date: