Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

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
columnAttributes
align=left,align=left,align=center,align=center,align=center,align=left
} ||

Archetype

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

annotations

for

managed

bean

definition

with

Apache

OpenWebBeans

as

the

CDI

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

with

JSP

as

the

page

templating

system.

|

1.2

| • | | Tomahawk | | [HelloWorld-Facelets|#The MyFaces Hello World Archetypes] | Webapp project that uses MyFaces Core

 

Tomahawk

HelloWorld-Facelets

Webapp project that uses MyFaces Core 1.2.x

with

Facelets

as

the

page

templating

system.

|

1.2

| | • | 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

and

MyFaces

Trinidad. |

Trinidad.

1.2

| • | | Trinidad

 

Trinidad 1.2

| |

Trinidad

2.0

Archetype | Webapp that uses MyFaces Core

Archetype

Webapp that uses MyFaces Core 2.0.x

and

MyFaces

Trinidad

2.0.

|

2.0

| • | | Trinidad

 

Trinidad 2.0

| | [ 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

|

Hello

World

Archetype

using

MyFaces

CODI

|

2.0

| | • | none | |

 

none

myfaces-archetype-codi-jsf12

|

Hello

World

Archetype

using

MyFaces

CODI

|

1.2

| | • | none | {table-plus}

 

none

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.

...