ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh
5

Obtaining a JPA Database Connection

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

What is ObjectDB?

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

Java EE 6 JPA Tutorial - NetBeans Project

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

Step 6: Run the Java EE 6 Application

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

Step 6: Run the Web Application

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

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
1

Step 4: Add a Servlet Class

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

Step 1: Create a Web Project

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

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
1

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