How to create a javaee6 web app using jboss maven war archetype
Tech-Today

How to create a javaee6 web app using jboss 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-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.




- How To Setup Arquillian Testing With Wildfly
This tutorial requires: Knowledge with GITKnowledge with archetypeRequirements:WildflyeclipseWhat to do:In eclipse create a new maven project: File->New->Other, enter maven in the filter. Select Maven Project. Click next, then next. In the filter...

- How To Create A Modularized Ear Project In Maven
This post is one way of creating a typical javaee6 maven project that contains ear, web, ejb and api. The output of course is an ear file that contains (web, ejb and api). How it looks like (assuming our top project is named ipiel): +ipiel  +ipiel-ear...

- Javaee Development
JavaEE6How to create a javaee6 web app using jboss maven war archetypeCreate a simple javaee6 web app with maven, glassfish and postgresqlHow to validate a JavaEE6 Bean in a jobHow to add JavaEE 6 archetypes in eclipse keplerHow to create a custom bean...

- Create A Simple Javaee6 Web App With Maven, Glassfish And Postgresql
This tutorial creates a simple javaee6 project using eclipse with maven. The application has 1 xhtml page that has a create button, and as you guest it when press will create an Employee record in the database. We use postgresql as the database and glassfish...

- How To Activate Maven Profile Inside Eclipse
Normally maven is use for project dependency management and lifecycle, so there are several developers working on it. Each has its own development environment either in windows, linux or mac. To do this we create several profiles for each developer in...



Tech-Today








.