Creating a Java EE web project

In this section, we will create a Java EE Web Project for a JAX-WS Web Service. Select File | New. In New, select JBoss Central | Java EE Web Project, as shown in the following screenshot. Now click on Next.

Creating a Java EE web project

A test is run for the requirements, which include m2e and m2eclipse-wtp plugins, and the JBoss Maven Tools plugin. Select the checkbox and create a blank project; select WildFly 8.x Runtime for Target Runtime, as shown in the following screenshot. Now click on Next.

Creating a Java EE web project

Specify Project name (jboss-jaxws) and Package (org.jboss.jaxws), as shown in the following screenshot. Now click on Next.

Creating a Java EE web project

Specify Group Id as org.jboss.jaxws, Artifact Id (jboss-jaxws), Version (1.0.0), and Package (org.jboss.jaxws), as shown in the following screenshot. Then click on Finish.

Creating a Java EE web project

A Maven-based Java EE Web Project, jboss-jaxws, is generated, as shown in Project Explorer in the following screenshot. Delete the jboss-jaxws/src/main/resources/META-INF/persistence.xml configuration file:

Creating a Java EE web project
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset