ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh

Database Management Settings

The <database> configuration element specifies back end (database engine) settings that are relevant on the server side and in embedded mode. The default configuration file contains the following <database> element: <database> <size initial="256kb" resize="256kb" page="2kb" /> <recovery

Obtaining a JPA Database Connection

or a socket to a remote server) in a connection pool and use them to speed up future EntityManager

Database Doctor

engine (not using one server process), thus bypassing ObjectDB internal file lock protection

Auto Generated Values

. To minimize round trips to the database server, IDs are allocated in groups. The number of IDs in each

Step 1: Create a Java EE 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

JPA Web App Tutorial - NetBeans Project

Run > Run Main Project... (or F6). Choose or define the server and click OK. If a browser is not opened - open it at http://localhost:8080/Guestbook/.

Step 6: Run the Web Application

. You can stop the Tomcat server and open the database file in ObjectDB Explorer: This is the end

Step 3: Add a Context Listener Class

. The database will be closed when the web application stops (or when the web server shuts down), by

NetBeans/JPA Web Application Tutorial

This is the NetBeans version of the JPA Web App tutorial. It demonstrates how to create and run a database driven Java web application in NetBeans - using Tomcat 6 Apache Tomcat Server 6.0 (some modifications are needed for Tomcat 7.0), ObjectDB and JPA. The demo web application manages a basic

Step 4: Add a Servlet Class

the application server into the guestDao field automatically (since the field is marked with the @EJB

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