78 words
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 (7KB).
-
Open the Maven project in NetBeans:
Select File > Open Project....
Select the guestbook-spring directory and click Open Project. -
Run the project:
Select Run > Run Main Project... (or F6).
Choose or define Tomcat as a server and click OK.
Note: To run the application on GlassFish - change the transaction type from RESOURCE_LOCAL to JTA in the persistence.xml file. - If a browser is not opened - open it at http://localhost:8080/Guestbook/.