Home » Search

About or

191-200 of 200Refresh
Tutorial
4

Spring MVC and JPA Tutorial

This tutorial demonstrates how to create and run a full Java Spring MVC (Model View Controller) web application using Tomcat (or GlassFish), JPA, ObjectDB and Maven. The demo web application manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. The visitors
Tutorial
4

Spring MVC JPA Tutorial - Eclipse Project

Integration for WTP is installed when the Maven project is imported into the IDE). Choose or define
Tutorial
4

Spring MVC JPA Tutorial - IntelliJ Project

the green run icon (or Shift+F10). If the browser fails to open check the settings at File > Settings > Web Browsers.
Manual
4

SSL Configuration

" password="pwd" /> The enabled attribute of the ssl element (whose value is "true" or "false
Tutorial
4

Step 1: Create a Java EE 6 Web Project

We start by creating a new Java EE 6 Web Application project in NetBeans: Open the [New Project] dialog box, e.g. by using File > New Project... Select Java Web > Web Application and click Next. Choose a Project Name (e.g. Guestbook) and click Next. Select GlassFish Server 3 (or above) and Java EE
Tutorial
4

Step 2: Entity Class and Persistence Unit

the [Project Explorer] window) and selecting New > Folder (or New > Other... > General > Folder
Tutorial
4

Step 3: Create an ObjectDB Data Source

). Specify an ObjectDB connection url - either embedded (e.g. c:\points.odb) or client-server (e.g
Tutorial
4

Step 3: Define an EJB Session Bean

Operations on the database will be performed by an instance of a session bean (EJB) class that we will define in this step: Open the [New Session Bean] dialog box by right clicking the guest package node (in the [Projects] window), selecting New > Other... > Java EE (or Enterprise JavaBeans
Tutorial
4

Step 6: Set the Spring XML

clicking and selecting Edit or by double click and then moving to the XML tab in the editor window
Tutorial
4

Step 6: Set the Spring XML

right clicking and selecting Open With > Text Editor or by double click and then moving to the Source