no

How to create a JavaEE web app using Wildfly maven war archetype

This tutorial will teach us how easy it is to create a javaee6 web project using jboss maven archetype. Requirements: 1.) eclipse-jee-jun...

This tutorial will teach us how easy it is to create a javaee6 web project using jboss maven archetype.

Requirements:
1.) eclipse-jee-juno
2.) maven plugin

Steps:
1.) Open eclipse

2.) In eclipse click File->New->Other, and type "maven" in the wizards text box.

3.) Select "Maven Project" and click Next.

4.) Click Next.

5.) In the "New Maven Project" filter, enter "javaee6", now you can see the jboss-javaee6* archetypes from org.jboss.spec.archetypes.

*As you can see there are 2 version groups: 7.0.2 and 7.1.3. You can use either but I always use the latest.

6.) There are actually 4 types:
jboss-javaee6-webapp-archetype - javaee6 war project with sample code
jboss-javaee6-webapp-blank-archetype - blank javaee6 war project

jboss-javaee6-webapp-ear-archetype - javaee6 ear project with sample code
jboss-javaee6-webapp-ear-blank-archetype - blank javaee6 ear project

*Chose the archetype that fits in your requirement. You may start with the archetype with sample code, so you have reference - anyway it's easy to delete the extra code after all.

Related

wildfly 7301328464404808087

Post a Comment Default Comments

item