Home » Search

About Tutorials

31-40 of 188Refresh
Tutorial
35

Step 1: Create a Maven Web Project

Name (e.g. Guestbook) and select Java EE 5. Enter Maven Group Id (e.g. com.objectdb.tutorial.spring ... "> 4.0.0 com.objectdb.tutorial.spring Guestbook
Tutorial
35

Step 2: Define a JPA Entity Class

) and selecting New > Class. Enter tutorial as the package name - use exactly that case sensitive ... : package tutorial; import java.io.Serializable; import javax.persistence.*; @Entity public
Tutorial
35

Step 3: Add a Main Class

to replace the content of the Main class with the following content: package tutorial; import javax ... Tour chapter of the ObjectDB Manual. The next step (and the last in this tutorial) is running the project.
Tutorial
35

Step 4: Add a Controller Class

guest has registered (using a JSP form that will be added in the next tutorial step) - a new Guest ... (which is presented in the next tutorial step) that generates the HTML output. The JSP uses the GuestDao
Tutorial
35

Step 4: Add a Controller Class

: If a new guest has registered (using a JSP form that will be added in the next tutorial step) - a new ... (which is presented in the next tutorial step) that generates the HTML output. The JSP uses
Tutorial
35

Step 4: Add a Servlet Class

the next tutorial step) - a new Guest entity object is constructed and stored in the database. All the Guest ... . Then the processing is forwarded to the JSP page (which is presented in the next tutorial step). The JSP uses
Tutorial
35

Step 4: Add a Servlet Class

has registered (using a JSP form that is shown in the next tutorial step) - a new Guest entity object ... (which is presented in the next tutorial step). The JSP uses the "guest" attribute to generate
Tutorial
35

Step 4: Add a Servlet Class

: If a new guest has registered (using a JSP form that will be added in the next tutorial step) - a new ... is forwarded to the JSP page (which is presented in the next tutorial step). The JSP uses the "guest
Tutorial
35

Step 4: Add a Servlet Class

that will be added in the next tutorial step) - a new Guest entity object is constructed and stored in the database ... " attribute. Then the processing is forwarded to the JSP page (which is presented in the next tutorial
Tutorial
35

Step 5: Add a JSP Page

> JPA Guest Book Web Application <B>Tutorial</b> tutorial) is running the web application.