Top
Interstage Studio User's Guide
FUJITSU Software

9.4.1 Overview

9.4.1.1 What is JPA?

Refer to "4.1.1 What is JPA?" for an outline of JPA.

9.4.1.2 Changes from Java EE 5

The specification for JPA in Java EE 6 is JPA 2.0. The following features have been added in JPA 2.0:

Point

Refer to the following specifications for details on JPA 2.0:

  • JSR 317: Java(TM) Persistence 2.0

9.4.1.3 Developing Applications using JPA

Refer to "4.2.2 Development Flow" and "4.2.3 Development Procedures" for information on the flow and procedures for developing JPA. Refer to "9.6.1 Preparing to Create Applications" for information on preparations for creating annotations.

Note

  • To create connection profiles in the Java EE 6 workbench, in the [New] wizard, select [Connection Profile] > [Connection Profile].

  • When "Development Procedures" in "Chapter 4 Developing Applications that use Java Persistence API (JPA)" is performed using the Java EE 6 workbench, there are the following differences:
    In "2-1) Creating the JPA Project", specify "Generic 2.0" under [Platform] in the [JPA Project] wizard and "Disable Library Configuration" for the JPA implementation.
    In "6-2) Setting the Build Path", select the EAR project, then select [Properties] from the context menu and check the [Deployment Assembly].

  • To create the JDBC Connection Pool, use the create-jdbc-connection-pool command. To create the JDBC resource, use the create-jdbc-resource command. Refer to "Setting the Database Environment" in the "Interstage Application Server Java EE Operator's Guide (Java EE 6 Edition)" for information on Interstage Application Server JDBC settings such as the JDBC driver classpath settings.