Jan's Blog

Wednesday Feb 21, 2007

Jetty supports Annotations for the JSF RI

Jetty now supports annotations on managed beans with Sun's JSF RI version 1.2_04.

For the curious, the magic happens in the Jetty6InjectionProvider class that is distributed in the RI jars.

However, that's just an implementation detail. All you need to do is to mark up your jsf beans as usual with annotations (see the annotations supported by jetty, and the jetty/jsf integration will make sure they're injected and the callbacks called appropriately. Also take a look at how to throw the JSF RI jars into Jetty.

Big thanks to Ryan Lubke from the JSF RI team who worked very closely with us on implementing this! Ryan has also blogged about the jetty integration.

Comments:

Good site, good idea, but, in my humble opinion, you need change design...

Posted by sound on June 11, 2007 at 09:08 AM EST #

Post a Comment:
  • HTML Syntax: Allowed

Webtide

Calendar

Tags

Search

Links

Navigation