Creating a Java EE web project

In this section, we will create Java EE Web Project in Eclipse IDE. Perform the following steps to accomplish this task:

  1. Select File | New | Other. In the New window, select JBoss Central | Java EE Web Project and click on Next, as shown in the following screenshot:
    Creating a Java EE web project

    The Java EE Web Project wizard gets started. A test is run for the requirements, which includes a JBoss server runtime, the JBoss Tools runtime, and the m2e and m2eclipes-wtp plugins.

  2. Select the Create a blank project checkbox and Target Runtime WildFly 8.x Runtime and click on Next, as shown in the following screenshot. Even though Java EE Web Project indicates the Java EE version as Java EE 6, a Java EE 7 web project is actually created.
    Creating a Java EE web project
  3. Specify Project Name (jboss-hibernate) and Package (org.jboss.hibernate), and click on Next, as shown in the following screenshot:
    Creating a Java EE web project
  4. Specify Group Id (org.jboss.hibernate), Artifact Id (jboss-hibernate), Version (1.0.0), and Package (org.jboss.hibernate), as shown in the following screenshot. Click on the Finish button.
    Creating a Java EE web project
  5. The jboss-hibernate project gets created in Eclipse and gets added to Project Explorer, as shown in the following screenshot:
    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