About directories

31-40 of 182Refresh
Tutorial
13

Spring MVC JPA Tutorial - NetBeans Project

To open and run the Spring MVC JPA tutorial project in NetBeans: Download and extract the project zip file: Spring MVC JPA - Maven Project (8KB) Open the Maven project in NetBeans: Select File > Open Project.... Select the guestbook-spring directory and click Open Project. Run the project: Select
Tutorial
13

Step 1: Create a Java EE Web Project

of the ObjectDB installation directory and click Open. Now you should have a NetBeans Java EE 6 Web Application
Tutorial
13

Step 1: Create a Java Project

the bin subdirectory of the ObjectDB installation directory: Click Finish to create the project
Tutorial
13

Step 1: Create a Java Project

of the ObjectDB installation directory and click Open. Now you should have a new NetBeans project
Tutorial
13

Step 1: Create a Web Project

installation directory and click Open. Now you should have a NetBeans Web Application project
Tutorial
13

Step 2: Entity Class and Persistence Unit

the new source directory node (in the [Package Explorer] window) and selecting New > Class. Enter guest as
Tutorial
13

Step 4: Run the Application

installation directory. Running the application again will use the existing database file to store
Tutorial
13

Step 6: Run the Java EE 6 Application

You can run the application now by right clicking the GuestServlet node (in the [Projects] window), selecting Run File, and then clicking OK (no need to change the servlet execution URI). Since we are using ObjectDB in embedded mode - the database file is created under the GlassFish directory (e.g
Tutorial
13

Step 6: Run the Java EE 6 Application

You can run the application now by right clicking the GuestServlet node (in the [Project Explorer] window) and selecting Run As > Run on Server > Finish: Since we are using ObjectDB in embedded mode - the database file is created under the GlassFish directory (e.g. at domains\domain1\eclipseApps
Tutorial
13

Step 6: Run the Web Application

You can run the application now by right clicking the GuestServlet node (in the [Project Explorer] window) and selecting Run As > Run on Server > Finish: Since we are using ObjectDB in embedded mode - the database file is created under the Tomcat directory. You can stop the Tomcat server and open