Home » Search

About file

91-100 of 200Refresh
Tutorial
13

Step 1: Create a Maven Web Project

. by using File > New Project... Select Maven > Maven Web Application and click Next. Choose a Project ... . The configuration of the new created project is contained in a pom.xml file that was created under Project Files in the [Project] window: To add dependency on the Spring MVC Framework and ObjectDB
Tutorial
13

Step 2: Entity Class and Persistence Unit

the [Provider and Database] step click Finish to generate a default persistence.xml file ... the new source file content with the following code: package guest; import java.io.Serializable ... + ")"; } } A default JPA persistence unit (with default settings) was generated in a persistence.xml file
Tutorial
13

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook page output: Open the [New JSP File ... > Other... > Web > JSP File and clicking Next. Enter guest as the jsp file name - use exactly that case sensitive class name. Click Finish to create the new JSP file. Now replace the content of the new
Tutorial
13

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook page output: Open the [New JSP File ... > Other... > Web > JSP File and clicking Next. Enter guest as the jsp file name - use exactly that case sensitive class name. Click Finish to create the new JSP file. Now replace the content of the new
Tutorial
13

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook HTML output: Open the [New JSP File ... ), selecting New > Other... > Web > JSP File and clicking Next. The parent folder should be WEB-INF (to prevent direct access to the JSP bypassing Spring). Enter guest as the jsp file name - use exactly
Tutorial
11

Java EE 6 JPA Tutorial - IntelliJ Project

and extract the project zip file: Java EE 6 JPA Web App - Maven Project (6KB). Open the project in IntelliJ IDEA: Select File > Open Project.... Select the guestbook-jee6 directory and click OK. Define the Server: Select File > Settings > Application Servers. Add Tomcat 6 Server if not set already (Tomcat
Tutorial
11

JPA Web App Tutorial - IntelliJ Project

the project zip file: JPA Web Application - Maven Project (6KB). Open the project in IntelliJ IDEA: Select File > Open Project.... Select the guestbook-web directory and click OK. Define the Server: Select File > Settings > Application Servers. Add Tomcat 6 Server if not set already (Tomcat
Tutorial
11

Spring MVC JPA Tutorial - IntelliJ Project

To open and run the Spring MVC JPA tutorial project in Download and extract the project zip file: Spring MVC JPA - Maven Project (7KB). Open the project in IntelliJ IDEA: Select File > Open Project.... Select the guestbook-spring directory and click OK. Define the Server: Select File > Settings
Tutorial
11

Step 1: Create a Maven Web Project

box, e.g. by using File > New > Project... Select Maven > Maven Project and click Next. Verify ... to create the project. The configuration of the new created project is contained in a pom.xml file ... all the required JAR files from Maven repositories - open the pom.xml file and in the pom.xml tab use
Tutorial
11

Step 4: Run the Application

) and selecting Run File. The expected output in the [Output] window, is: Total Points: 1000 Average X: 499 ... for the first time, a new ObjectDB database file is generated in the db subdirectory under the ObjectDB installation directory. Running the application again will use the existing database file to store