ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh
96

What is the Java Persistence API (JPA)?

The Java Persistence API (JPA) is a standard API for accessing databases from within Java applications. The main advantage of JPA over JDBC (the older Java API for interacting with databases ... . Using plain old Java objects (POJO) to represent persistent data can significantly simplify database
54

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
54

Java EE 6 JPA Tutorial - Eclipse Project

To open and run the Java EE 6 Web Application tutorial project in Eclipse: Download and extract the project zip file: Java EE JPA Web App - Maven Project (7KB) Open the Maven project in Eclipse: Select File > Import... > Maven > Existing Maven Projects and click Next. Select the guestbook-jee6
36

ObjectDB - Object Database for Java (JPA/JDO)

. Using a relational database management system (RDBMS) to store and retrieve Java objects requires slow conversions between graphs of Java objects and flat database table rows. Object Relational Mapping ... is the most productive software for developing Java database applications using the Java Persistence
16

Step 1: Create a Java Project

We start by creating a new Java project, using: File > New > Project... If you are using Eclipse IDE for Java EE Developers, you can see in the [New] menu a command for creating a [JPA Project]. We are not using that type of project in this tutorial but rather an ordinary Java Project. In the [New
8

Step 3: Define an EJB Session Bean

node (in the [Projects] window), selecting New > Other... > Java EE (or Enterprise JavaBeans ... - for retrieving all the existing Guest objects from the database. EJB classes are only supported by Java EE ... class name. The Java package name should be guest. Click Finish to create the new session bean (EJB
8

JPA Tutorials

). The next tutorial shows how to use JPA in a full Model-View-Controller (MVC) Java EE 6 web application that should be deployed in a Java EE 6 container: Java EE 6 (J2EE) Web Tutorial Since this web application uses Java EE 6 EJB (session beans) it requires a full Java EE 6 application server, such as
7

Step 3: Define an EJB Session Bean

are only supported by Java EE application servers such as GlassFish and JBoss, and not by servlet ... that we will define in this step: Open the [New Java Class] dialog box by right clicking the guest package ... code: package guest; import java.util.List; import javax.ejb.Stateless; import javax
6

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
3

What is the Java Data Objects (JDO)?

The Java Data Objects (JDO) is another standard for accessing persistent data in databases, using plain old Java objects (POJO) to represent the object model. Unlike Java Persistence API (JPA ... , and it is probably the most popular Java API for object databases today.

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