About NetBeans

11-20 of 112Refresh
Tutorial
58

Step 1: Create a Web Project

We start by creating a new NetBeans Web Application Project: Open the [New Project] dialog box, e.g. by using File > New Project... Select Java Web > Web Application and click Next. Choose a Project ... installation directory and click Open. Now you should have a NetBeans Web Application project
Tutorial
58

Step 1: Create a Maven Web Project

We start by creating a new Maven web project in NetBeans: Open the [New Project] dialog box, e.g. by using File > New Project... Select Maven > Maven Web Application and click Next. Choose a Project ... > Now you should have a Maven based NetBeans web project with Spring MVC Framework and ObjectDB/JPA support. The next step is creating a JPA Entity class.
Tutorial
50

JPA Tutorials

are also available for download as ready to use Maven projects (which can be opened and used in Eclipse, NetBeans, IntelliJ IDEA and JDeveloper).
Tutorial
50

Step 2: Define a JPA Entity Class

is an ordinary Java class. The warning that NetBeans displays on the Guest class indicates that a persistence
Tutorial
50

Step 2: Define a JPA Entity Class

class is an ordinary Java class. The warning that NetBeans displays on the Guest class indicates
Tutorial
50

Step 5: Add a JSP Page

>
Tutorial
50

Step 5: Add a JSP Page

?jee-netbeans" frameborder="0" scrolling="no" width="100%" height="30">
Tutorial
50

Step 5: Add a JSP Page

-netbeans" frameborder="0" scrolling="no" width="100%" height="30">
Tutorial
50

Step 7: Run the Spring Web App

as a server in your NetBeans - you should be able to run your application now by selecting Run > Run
Tutorial
31

Step 2: Entity Class and Persistence Unit

Explains how to define a JPA entity class and a persistence unit (persistence.xml) in a NetBeans Java EE 6 web application.