Fast Object Database for Java - with JPA/JDO support

Internal Website Search

41-50 of 194 resultsRefresh
21

Step 1: Create a Java Project

We start by creating a new NetBeans Project: Open the [New Project] dialog box, e.g. by using File > New Project... Select Java > Java Application and click Next. Choose a Project Name (e.g. Tutorial). The name of the Main class should be tutorial.Main. Verify that exactly this case sensitive fully
21

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
21

Step 5: Add a JSP Page

"> JPA Guestbook Web Application <B>Tutorial</B> tutorial) is setting the Spring XML configuration.
21

Step 7: Run the Spring Web App

at http://localhost:8080/Guestbook/. This tutorial should also run with GlassFish 3.0.1, with a small ... ) is automatically enabled without specifying a Java agent. This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual.
21

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
21

Step 5: Add a JSP Page

Tutorial
21

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
21

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
21

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
21

Step 5: Add a JSP Page

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

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