Home » Search

About new

51-60 of 200Refresh
Tutorial
10

Step 1: Create a Web Project

We start by creating a new Eclipse Dynamic Web Project: Open the [New Project] dialog box, e.g. by using File > New > Project... Select Web > Dynamic Web Project and click Next. Choose a Project Name ... 6 as a new server by clicking the New Runtime... button. Follow the instructions and specify
Tutorial
10

Step 3: Add a Main Class

the database and then retrieve them from the database: Open the [New Java Class] dialog box by right clicking the tutorial package node (in the [Package Explorer] window) and selecting New > Class ... name. Click Finish to create the new class. Use copy and paste to fill the new source file
Tutorial
10

Step 3: Define a Spring DAO Component

) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Projects] window under Source Packages) and selecting New ... . The Package should be guest. Click Finish to create the new DAO Spring component class. Now replace
Tutorial
10

Step 3: Define a Spring DAO Component

) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Package Explorer] window) and selecting New > Class ... name. Click Finish to create the new DAO Spring component class. Now replace the content of the new
Tutorial
10

Step 3: Define an EJB Session Bean

that we will define in this step: Open the [New Session Bean] dialog box by right clicking the guest package node (in the [Projects] window), selecting New > Other... > Java EE (or Enterprise JavaBeans ... class name. The Java package name should be guest. Click Finish to create the new session bean (EJB
Tutorial
10

Step 3: Define an EJB Session Bean

that we will define in this step: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Package Explorer] window) and selecting New > Class. The package name should be guest ... the new session bean (EJB) class. Now replace the content of the new source file with the following
Manual
10

CRUD Database Operations with JPA

it to store, retrieve, update and delete database objects. Storing New Entity Objects The following ... = 0; i < 1000; i++) { Point p = new Point(i, i); em.persist(p); } em.getTransaction().commit(); Operations that modify the content of the database (such as storing new objects
Manual
9

BIRT/ODA ObjectDB Driver

extension. To install it: Open the [Install] dialog box by selecting Help > Install New Software... In ... when using client-server mode. ObjectDB/JPA Data Source To create an ObjectDB data source: Open the [New ... and selecting New Data Source. Select ObjectDB Data Source from the list of available data source types
Manual
9

Database Doctor

of a corrupted ObjectDB database file Repairs a corrupted ObjectDB database file by creating a new fresh database file and then copying all the recoverable data in the corrupted database file to the new ... arguments: > java -cp objectdb.jar com.objectdb.Doctor old.odb new.odb The first argument (old.odb
Manual
9

Query Parameters in JPA

with different parameter values (arguments) is more efficient than using a new query string for every query ... for the queried name the new method embeds the name as a String literal. There are a few drawbacks ... , which is very inefficient. On the other hand, when using parameters, even if a new TypedQuery instance