Skip navigation

During JSF 1.0, 1.1 and 1.2, we relied on the old cardemo application to do end-to-end testing of the implementation. I was never satisfied with how this simple app exercised the code, and have been wanting to get a more real-world application.

Similar to the XSLT Stylesheet contest, I'm giving away a copy of my new bookSecrets of the Rockstar Programmers to the best sample app. You'll have to paypal me the shipping and handling cost. The winner can tell me how fast they want it and the costs will be calculated from there.

I'll judge the entrances according to the following requirements:

  • Application is fully self contained.

  • Small sized production application. Something like a web forum system or a simple blog engine.

  • Uses a database, preferably the database is built into the application, maybe something like JavaDB.

  • Is based on JSF 1.2

  • Does not require any JSF addons, uses only Java EE 5 standard APIs.

  • Runs without a hitch on Glassfish v2.

  • Easy to build from source and deploy.

You'll have to fill out and submit a Sun Contributor Agreement to submit an entry, since the entrys will include code.

We'll do the work of converting the application to JSF 2.0. Because Mojarra is open source, you can have access to the upgraded app!

Technorati Tags: edburns

Emmanuel Bernard has been doing a fine job running JSR-303 Bean Validation.  I've met with him on a number of occasions and it's always been a pleasant, productive and professional encounter.  It was with great interest that I read the JSF2.0 proposal appendix in the soon-to-be-released JSR-303 draft.  I'll leave the details until JSR-303 hits their PR, but at this point I can say I'm happy with the job the JSR-303 EG has done as evidenced in this proposal.  They've left graph validation off the table for now, but aside from that, it fits right in.

Technorati Tags: edburns

One aspect of Glassfish being the premiere Java EE 5 Application server is its ability to run all of the current popular software for the Enterprise.  One such package is the MyFaces JSF implementation.  Although Mojarra is built into Glassfish, people have successfully run MyFaces on Glassfish.  If anyone has done so, could you write a blog about it and share it with the world?

  Technorati Tags: edburns

We're still plugging along on getting Facelets fully specified so a clean-room implementation can be done of it. Today I've been expanding the charter of a new class,PageDeclarationLanguage, which is vended from theViewHandler. PageDeclarationLanguage(PDL) is the starting point for all things specific to the way the view is described. The idea is that even within the concept of a single ViewHandler, it's possible to have different ways to declare a view. We'll be using aPageDeclarationLanguageFactory and require that a compliant implementation provide PDL impls for JSP and for Facelets (as defined in JSF 2.0). The most recent version of this class is from Early Draft Review 2, at <https://javaserverfaces-spec-public.dev.java.net/nonav/snapshots/edr2/javadocs/javax/faces/webapp/pdl/PageDeclarationLanguage.html>

I've made a bunch of changes to that class just today, but those will be in a later version of the specification.

In other news, Roger has been doing great work on declarative Ajax and we'll have an ajaxification story present in JSF 2.0 similar to the <a4j:support /> tag in RichFaces.

Technorati Tags: edburns

Filter Blog

By date: