ObjectDB ObjectDB

Internal Website Search

41-50 of 197 resultsRefresh
4

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Right click on the project in the [Package Explorer] window and select New > Class. Enter tutorial as the package ... the new class. Copy and paste the following code into the newly created Point class: package tutorial
4

Step 5: Add a JSP Page

Tutorial</title> </head> <body> <form method="POST" action="GuestServlet ... the servlet in the previous step). The next step (and the last in this tutorial) is running the web application.
4

Step 1: Create a Java Project

]. We are not using that type of project in this tutorial but rather an ordinary Java Project. In the [New Project] dialog box: Select Java Project and click Next. Choose a Project Name (e.g. Tutorial
4

Step 4: Add a Servlet Class

) is constructed. If a new guest has registered (using a JSP form that is shown in the next tutorial step ... is forwarded to the JSP page (which is presented in the next tutorial step). The JSP uses the "guest
4

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 ... "> <modelVersion>4.0.0</modelVersion> <groupId>com.objectdb.tutorial.spring</groupId> <artifactId>Guestbook
4

Step 5: Add a JSP Page

> <title>JPA Guest Book Web Application Tutorial</title> </head> <body> <form ... the servlet in the previous step). The next step (and the last in this tutorial) is running the web application.
4

Step 5: Add a JSP Page

> <title>JPA Guest Book Web Application Tutorial</title> </head> <body ... (and the last one in this tutorial) is running the web application.
4

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
4

Step 5: Add a JSP Page

Tutorial</title> </head> <body> <form method="POST" action="guest.html ... the previous step). The next step (and the last in this tutorial) is setting the Spring XML configuration.
4

Step 4: Add a Servlet Class

that is shown in the next tutorial step) - a new Guest entity object is constructed and stored in ... the next tutorial step). The JSP uses the "guest" attribute to generate the page output. Finally

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support