Java EE 7 Front End Web Application Development: Business Logic and Persistence


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
A Java application contains presentation business logic and services layers. Business logic can be implemented using POJOS (plain old Java objects) or EJBs (enterprise java beans). EJB-Lite is a subset of the EJB specification. This course will contrast these three technologies and explore the features and use of session beans in EJB. Most business applications need to persist data. In this course, you will be introduced to the Java Persistence API, a lightweight framework that leverages Plain Old Java Objects (POJOs) for persisting Java objects that represent relational data. The course will cover JPA entities and entity mapping, the role of the Entity Manager, and using JPA queries. The course will include demonstration and practice in configuring data persistence in Java EE applications.

Target Audience
Java developers who want to learn how to use Java EE 7 components to build front-end enterprise web applications

Prerequisites
None

Expected Duration (hours)
2.0

Lesson Objectives

Java EE 7 Front End Web Application Development: Business Logic and Persistence

  • Start the course
  • describe the layers that comprise a Java EE application
  • define and contrast Java POJOs, EJBs, and EJB-Lite
  • describe the Java EJB API
  • compare stateful, stateless, and singleton session beans in Java EE applications
  • describe the steps in creating a session bean
  • describe stateful and stateless session bean life cycles
  • describe timer-based and asynchronous method invocation for session beans and describe the use of SessionContext
  • describe the use of JNDI names for EJB components
  • invoke a session bean from a servlet to download media items as thumbnails in a Java EE application
  • use a singleton session bean to cache data in a Java EE application
  • describe at a high level the Java Persistence API and object-relational mapping it entails
  • describe JPA entities and describe how to create an entity class
  • describe entity mapping and the role of a primary key in mapping and describe how to change default mapping
  • describe the use of temporal types and transient fields in JPA entities
  • describe the data types for fields and properties and contrast persistent fields and properties
  • describe persistence units, the use of the persistence.xml file, and persistence contexts in Java EE applications
  • describe the role of the Entity Manager with an example of its use in a Java EE application, and describe the entity instance life cycle and Entity Manager methods
  • describe JPA queries
  • create and configure a Java Derby database
  • create a JPA entity from a POJO
  • create and configure a persistence unit in a Java EE application
  • use the functionality of the Java Persistence API in a Java EE application
  • create dynamic JPQL queries in a Java EE application
  • practice configuring data persistence for a Java EE application
  • Course Number:
    sd_jeef_a05_it_enus

    Expertise Level
    Intermediate