O'Reilly logo

JSF 2.0 Cookbook by Anghel Leonard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Custom components with Archetypes for Maven

In this recipe, you will see how to generate the stubs for five types of JSF custom components from scratch:

  • The stub for a project that will use MyFaces (including all the dependencies needed)
  • The stub for a project that will use MyFaces and Facelets (including all the dependencies needed)
  • The stub for a project that will use MyFaces and Portlets (including all the dependencies needed)
  • The stub for a simple JSF component that will use MyFaces (including all the dependencies needed)
  • The stub for a project that will use MyFaces and Trinidad (including all the dependencies needed)

For generating these stubs we will use five types of Maven Archetypes from MyFaces. Actually, we will show you how to use the MyFaces ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required