ObjectDB ObjectDB

Internal Website Search

151-160 of 200 resultsRefresh
6

Shared (L2) Entity Cache

on the client side - ObjectDB manages also several caches on the server side: Cache of database file pages ... . Per persistence unit in the persistence.xml file. Per entity class - using annotations. ObjectDB
1

Step 6: Run the Web Application

- the database file is created under the Tomcat directory. You can stop the Tomcat server and open the database file in ObjectDB Explorer: This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual.
1

Spring MVC JPA Tutorial - Eclipse Project

To open and run the Spring MVC JPA tutorial project in Eclipse: Download and extract the project zip file: Spring MVC JPA - Maven Project (8KB) Open the Maven project in Eclipse: Select File > Import... > Maven > Existing Maven Projects and click Next. Select the guestbook-spring directory as Root
1

Step 3: Add a Main Class

to create the class. Copy and paste the following code to the newly created class file: package ... .close(); emf.close(); } } The main method creates an ObjectDB database file, stores
1

Java EE 6 JPA Tutorial - NetBeans Project

To open and run the Java EE 6 Web Application tutorial project in NetBeans: Download and extract the project zip file: Java EE JPA Web App - Maven Project (7KB) Open the Maven project in NetBeans: Select File > Open Project.... Select the guestbook-jee6 directory and click Open Project. Run
1

Getting Started with JPA - NetBeans Project

To open and run the Quick Start with JPA tutorial project in NetBeans: Download and extract the project zip file: Getting Started with JPA - Maven Project (3KB) Open the Maven project in NetBeans: Select File > Open Project.... Select the points-console directory and click Open Project. Run
1

Getting Started with JPA - IntelliJ Project

To open and run the Quick Start with JPA tutorial project in IntelliJ IDEA: Download and extract the project zip file: Getting Started with JPA - Maven Project (3KB) Open the project in IntelliJ IDEA: Select File > Open Project.... Select the points-console directory and click Open Project. Run
1

JPA Web App Tutorial - Eclipse Project

To open and run the JPA Web Application tutorial project in Eclipse: Download and extract the project zip file: JPA Web App - Maven Project (6KB) Open the Maven project in Eclipse: Select File > Import... > Maven > Existing Maven Projects and click Next. Select the guestbook-web directory as Root
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 ... ] window and select Add Jar/Folder... Select the objectdb.jar file from the bin subdirectory
1

Step 2: Define a JPA Entity Class

to create the new class. Use copy and paste to replace the new source file content with the following ... that a persistence unit definition in an XML file is missing. This is discussed in the ObjectDB Manual

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