ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh

Obtaining a JPA Database Connection

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

What is ObjectDB?

database systems (RDBMS), such as Oracle, DB2, SQL Server or MySQL.

Java EE 6 JPA Tutorial - NetBeans Project

the project: Select Run > Run Main Project... (or F6). Choose or define the server and click OK

Step 6: Run the Java EE 6 Application

. at domains\domain1\eclipseApps\Guestbook\WEB-INF). You can stop the GlassFish server and open

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 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

Step 4: Add a Servlet Class

session bean, which is instantiated and injected by the application server into the guestDao field

Step 1: Create a Web Project

6 as a new server by clicking the New Runtime... button. Follow the instructions and specify

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

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