• Online, Self-Paced
Course Description

Concurrency in an application the execution of two or more tasks at the same time enables you to take advantage of multi-core processing and long wait times for external resources such as service calls or device access. This course covers how to implement the Java EE concurrency mechanisms including message driven beans, asynchronous EJBs, and the concurrency utilities for Java EE. The course goes on to review the implementation of the JDBC API in Java SE. It introduces Contexts and Dependency Injection (CDI) and covers how to use JNDI and CDI to access JDBC objects in Java EE. Atomicity, isolation, and flat threading are some of the transaction features that must be incorporated in applications compliant with the Java EE platform. This course concludes by covering transaction semantics and models for Java EE applications. It contrasts a programmatic and declarative implementation of transaction support and covers using JTA to scope transactions programmatically and implementing a container-managed transaction policy.

Learning Objectives

Concurrency

  • start the course
  • describe concurrency and contrast its implementation in Java SE and Java EE
  • describe the Java EE concurrency mechanisms
  • describe how to use asynchronous methods in EJB
  • use asynchronous EJB with no return values
  • use asynchronous EJB with return values
  • use the Java EE concurrency utilities

JDBC in Java EE Environments

  • review the implementation of the JDBC API in Java SE and describe how to use JNDI and CDI to access JDBC objects in Java EE
  • describe how to use the Data Access Object (DAO) pattern to separate entity objects from the classes that manage data access
  • create and populate a Java DB database for a Java EE application
  • write data access objects with JDBC

Transactions in Java EE Environments

  • describe the features of transactions
  • describe the different types of transaction models
  • contrast programmatic and declarative transactions and describe how to use JTA to scope transactions programmatically in Java EE applications
  • describe how to implement a container-managed transaction policy in Java EE
  • use bean-managed transactions in Java EE applications
  • use EJB container-managed transactions in Java EE applications

Practice: Transactions in Java EE Apps

  • practice implementing transactions in Java EE applications

Framework Connections

The materials within this course focus on the Knowledge Skills and Abilities (KSAs) identified within the Specialty Areas listed below. Click to view Specialty Area details within the interactive National Cybersecurity Workforce Framework.