Getting Starting with the Java Persistence API (WJ-2291)

Getting Starting with the Java Persistence API (WJ-2291)
 
   Web-based
  »   CD-ROM
  »   Instructor-led
 

The Getting Started with Java Persistence API course provides students new to Enterprise JavaBeans (EJB) 3.0 and the Java Persistence API (JPA) with a step-by-step guide for creating an application with these technologies. Using JPA and NetBeans, students build an enterprise application that performs all the standard database operations: create, retrieve, update, and delete (CRUD). In addition, students will refactor their code.

»   Details below
 
 

Please contact a Sun Training Representative to order this product.

 
 

Web-based courses purchased on the Web site may only be used in New Zealand. If you reside outside New Zealand please select a country to inquire about products delivered in your country.

 
 
Languages
English

 Back to top

 
 
Who Can Benefit
Students who can benefit from this course are Java developers new to the Java Persistence API and Enterprise JavaBeans 3.0.

 Back to top

 
 
Prerequisites
To succeed fully in this course, students should be:
  • Familiar with Servlet/JSP-based applications or other web development platforms.
  • Familiar with the Java programming language.

 Back to top

 
 
Skills Gained
Upon completion of this course, students should be able to:
  • Create an enterprise application using NetBeans
  • Create a persistence unit for an application
  • Create entity classes to represent your data
  • Store and retrieve data using an entity manager
  • Retrieve data using Java Persistence Query Language (JPQL)
  • Create entity relationships using the JPA

 Back to top

 
 
Related Courses

Before:

After:

 Back to top

 
 
Course Content

Module 1 - Getting Started

  • Create an enterprise application with NetBeans
  • Analyze your data model

Module 2 - Set Up Your Data

  • Create a database using Java DB
  • Create the persistence init using a JPA persistence provider
  • Create a Student entity class

Module 3 - Build the Application

  • Define interfaces to be used by the session bean
  • Create a session bean to manage your entity class
  • Implement CRUD operations using JPA
  • Retrieve data using JPQL queries
  • Connect the session bean to a web interface
  • Deploy and test the application

Module 4 - Add a 1-to-1 Relationship to the Data Model

  • Create an Address entity class
  • Add an annotation to define a 1-to-1 unidirectional relationship
  • Refactor your code to implement the changes

Module 5 - Add a 1-to-Many Relationship to the Data Model

  • Create a Dorm entity class
  • Add annotations to define a 1-to-many bidirectional relationship
  • Refactor your code to implement the changes

 Back to top

 
 
Browse Other Course Topic Areas
 
Sun Training New Zealand
» Training outside New Zealand