...
The MyFaces Maven archetypes project provides a number of Maven archetypes to get you started on a MyFaces-based project quickly. The table below lists the available archetypes and which MyFaces libraries are used for any given archetype.
Wiki Markup |
{ Advanced Tables - Table Plus |
---|
: | = | align=left,align=left,align=center,align=center,align=center,align=left |
---|
|
}
|| name || Description of the created project || JSF version || View technology || ||Component set||
|| || || || JSP || Facelets || ||
| [HelloWorld 2.0 Basic|#The MyFaces Hello World Archetypes] | Webapp project that uses MyFaces Core 2.0.x with Facelets as the page templating system. | 2.0 | | • | none |
| [HelloWorld 2.0 OpenWebBeans|#The MyFaces Hello World Archetypes] | Webapp project that uses MyFaces Core 2.0.x with Facelets as the page templating system. Uses name | Description of the created project | JSF version | View technology | | Component set |
---|
| | | JSP | Facelets | |
---|
HelloWorld 2.0 Basic | Webapp project that uses MyFaces Core 2.0.x with Facelets as the page templating system. | 2.0 | | • | none | HelloWorld 2.0 OpenWebBeans | Webapp project that uses MyFaces Core 2.0.x with Facelets as the page templating system. Uses JSR-299/JSR-330 |
implementation. | 2.0 | | • | none |
| [HelloWorld Basic|#The MyFaces Hello World Archetypes] | Webapp project that uses MyFaces Core implementation. | 2.0 | | • | none | HelloWorld Basic | Webapp project that uses MyFaces Core 1.2.x |
| | • | | Tomahawk |
| [HelloWorld-Facelets|#The MyFaces Hello World Archetypes] | Webapp project that uses MyFaces Core | | | • | Tomahawk |
| [HelloWorld-Portlet|#The MyFaces Hello World Archetypes] | Simple portlet-enabled webapp. | 1.2 | • | | none |
| Trinidad | Webapp that uses MyFaces Core | | • | Tomahawk | HelloWorld-Portlet | Simple portlet-enabled webapp. | 1.2 | • | | none | Trinidad | Webapp that uses MyFaces Core 1.2.x |
Trinidad. | | • | | Trinidad |
| Archetype | Webapp that uses MyFaces Core Archetype | Webapp that uses MyFaces Core 2.0.x |
| | • | | Trinidad |
| [ Library|#The JSF Components Library Archetype] | Project that is intended to define new JSF components (rather than just use them). If you want to create a jar that defines a set of new custom JSF components then this archetype is a good starting point. | 1.2 | • | | N/A |
| [JSF-Component Library|#The JSF Components Library Archetype] myfaces-archetype-jsfcomponents20 | Project that is intended to define new JSF components (rather than just use them). If you want to create a jar that defines a set of new custom JSF components then this archetype is a good starting point. | 2.0 | | • | N/A |
| Library | Project that is intended to define new JSF components (rather than just use them). If you want to create a jar that defines a set of new custom JSF components then this archetype is a good starting point. | 1.2 | • | | N/A | JSF-Component Library myfaces-archetype-jsfcomponents20 | Project that is intended to define new JSF components (rather than just use them). If you want to create a jar that defines a set of new custom JSF components then this archetype is a good starting point. | 2.0 | | • | N/A | myfaces-archetype-codi-jsf20 |
| | | | • | none |
| | | • | none | myfaces-archetype-codi-jsf12 |
| | | | • | none |
{table-plus} |
Each project that is created based on one of these archetypes comes with JUnit and Log4j preconfigured. The projects also come with Jetty preconfigured, so you don't need a separate Java EE Web Container or Application Server to deploy the app to.
...