Wednesday, December 06, 2006

JFacets 1.3.5 released...

JFacets v1.3.5 is available for download on sf.net !

It includes some pretty cool improvements that have been tested in several applications recently.

Change List
  • Acegi integration : the JFacets core now includes the Acegi integration layer. It revealed very efficient and easy to use, and has now been in use for months without problems. It's now bundled with the JFacets jar for easier use.
  • fallback profile : JFacets can now default to a fallback profile in case supplied profile is null. For a while, invoking facets for unauthenticated (or guest) users has been painful. You had to manyally check if there was a profile, and decide what to do in this situation (otherwise you had a nice NPE !). With the more and more common use of Acegi as the authentication system, we needed automation there ! So now the JFacets bean can be configured with a fallbackProfileId property, and it'll handle all the null-checks etc ! No profile for the current request ? Fallback profile used :-) This allows to use facets even in the "public" sections of the application without any coding !
  • @FacetKeyList : you can now have several assignations for the same facet class, when using annotated facets. The @FacetKeyList annotation allows to have several @FacetKey for the same class.
Plus some small improvements here and there, and doc writing (don't get mad, it's still pretty messy in there, sorry for that).

Powered by JFacets !

JFacets
has been intensively tested recently, in various situations...

We now use it at work in a WebStarted Swing application where facets are used to create a fully profiled UI (actually some JPanels implement IFacet and own a @FacetKey annotation ! we just load them when creating the UI for the current profile). This was the first real attempt at writing facet-based Swing apps, and it's a really successful one. The programmer (a colleague at CSTB) was amazed with the ease of use of the facets, and I think it saved him a few months of work !
Also, JFacets continues to grow in the web tier, and to power more and more webapps, little by little. The integration with Acegi is really a bless, and the full annotations/taglibs makes facet-based web developement really easy.
Last but not least, on a parallel note, Woko gets really serious now, and opens pretty awesome perspectives in Agile Web Developement ! I'm currently trying to set up a flash demo so that you see it in action, it's really cool stuff, kind of "the stack of your dreams" ??? Stay tuned...

Enjoy this new release !

Remi

PS : I've shut the Sourceforge ML since nobody was using it. A forum should be up and running soon, I'm on it...

No comments: