Home » Search

About Application Server

181-190 of 200Refresh
Manual
2

JPA Persistence Unit

. If the application is not packed in a JAR yet, ObjectDB (as an extension) automatically registers
Manual
2

Locking in JPA

automatic. Optimistic locking should be the first choice for most applications, since compared
Manual
2

ObjectDB Developer's Guide

Welcome to ObjectDB for Java/JPA Developer's Guide. Here you can learn how to develop database applications using ObjectDB and JPA (Java Persistence API). The main purpose of this guide is to make you productive with ObjectDB and JPA in a short time. Guide Structure This manual is divided into
Manual
2

Query Parameters in JPA

is unsafe and can expose the application to JPQL injection attacks. Suppose that the name parameter
Manual
2

Setting and Tuning of JPA Queries

the application, either at the EntityManager level as a default for all the queries in that EntityManager
Tutorial
2

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

Step 1: Create a Maven Web Project

We start by creating a new Maven web project in NetBeans: Open the [New Project] dialog box, e.g. by using File > New Project... Select Maven > Maven Web Application and click Next. Choose a Project Name (e.g. Guestbook) and select Java EE 5. Enter Maven Group Id (e.g. com.objectdb.tutorial.spring
Tutorial
2

Step 3: Define a Spring DAO Component

the application to the Spring Framework. For instance, in this example the Spring container: Manages
Tutorial
2

Step 3: Define a Spring DAO Component

from the database. By using Spring components we can move some work from the application to the Spring
Tutorial
2

Step 4: Add a Controller Class

is "guestDao" and its value is guestDao). The next step is adding a JSP page that will serve as the application view and will produce the guestbook page output.