About Java

page

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) is that in JPA data is represented by ...

 
issue

stress test -> com.objectdb.o.InternalException: null

I am running a stress test with 2 users, each making a request to the JSON API (which uses as storage ObjectDB) each 50 milliseconds. An API call might have between 1-4 db calls, but they are relatively light, and the db has just a few MB at the moment. After a few minutes I got this exception. If I decrease the load, it doesn't happen. If I increase it, I get it very often. Any solution/fix? A sample project is very hard, if not impossible, to create, because it uses all the system. ... exception ( Error 990 ) Generated by Java HotSpot ( TM ) Client VM 1.8.0_05 ( on Windows 8.1 ... at com. objectdb . o . TYM . an ( TYM. java : 724 ) at com. objectdb . o . LDR . U1 ( ...

 
tutorial

Java EE 6 Web Tutorial

This tutorial demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application in Eclipse - using GlassFish, ObjectDB and JPA.... This tutorial demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application using GlassFish, ObjectDB and JPA. Since this web application uses Java EE 6 EJB (session beans) it requires a full Java EE 6 application server, ...

 
tutorial

NetBeans/JPA Java EE 6 Tutorial

Step by step tutorial that demonstrates how to build a simple Java EE web application (with Servlet, JSP and an EJB Session Bean) in NetBeans using JPA. This is the NetBeans version of the  Java EE JPA tutorial. It demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application in NetBeans - using ... you will need the following software: Java JDK 6.0 (or above). NetBeans - Java or All bundle ...

 
page

Which API should I use - JPA or JDO?

You can use ObjectDB with either the Java Persistence API (JPA) or the Java Data Objects (JDO) API. Both share similar architecture, design and ... and object databases and it is probably the most popular Java API for object databases today. ...

 
tutorial

Eclipse/JPA Java EE 6 Tutorial

Step by step tutorial that demonstrates how to build a simple Java EE web application (with Servlet, JSP and an EJB Session Bean) in Eclipse using JPA. This is the Eclipse version of the Java EE JPA tutorial. It demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application in Eclipse - using ... you will need the following software: Java JDK 6.0 (or above). Eclipse IDE for Java EE Developers ...

 
page

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), which is designated to be used with relational ...

 
tutorial

Java EE 6 JPA Tutorial - Maven Project

The Java EE 6 JPA Web Application tutorial for GlassFish as a Maven project (download & run). The  Java EE 6 Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for GlassFish 3/ JBoss 6) in  ... and run the result application as a Maven project: Java EE 6 JPA Web App - Maven Project (6KB) If  Maven is installed - ...

 
forum_thread

ObjectDB Enhancer Tool in Java 9

I am migrating to Java 9 and have encountered some issues, which I am sure will eventually be addressed by a Java 9 compatible ObjectDB future release, but while waiting for that release, perhaps you could give some advice for my current issues. Firstly, I created my own ObjectDB module.  I try to run com.objectdb.Enhancer from that module, but ObjectDB gives the error below.  My guess is the error is because ObjectDB is trying to detect its objectdb.home location by looking at its objectdb.jar location, which is not valid in a Java module environment. ... I am migrating to Java 9 and have encountered some issues, which I am sure will eventually be addressed by a Java 9 compatible ObjectDB future release, but while waiting for that release, ...

 
page

JPA Tutorials

Tutorials for using JPA and ObjectDB in Eclipse and NetBeans (console applications, web application, Java EE 6 applications).... Quick Start with JPA Tutorial Only basic Java experience is required in order to follow this tutorial. Web ... with basic concepts and principles of web applications in Java, including Servlets, JSP and HTML. The first tutorial ...