• Online, Self-Paced
Course Description

The Java Naming and Directory Interface (JNDI) is an API that provides naming and directory functionality to Java EE applications, enabling components to locate other components and resources. This course will cover how to use JNDI in Java EE applications for instance referencing an EJB, or connecting to a database with JNDI. Enterprise Java Beans (EJBs) provide business and messaging functions in a Java enterprise application. Session beans are used for business functions and this course will cover how to work with different types of session beans in Java EE applications.

Learning Objectives

Java Naming and Directory Interface (JNDI)

  • start the course
  • define JNDI, naming and directory services, and list JNDI packages
  • describe how to use JNDI
  • describe how to use JNDI names to refer to a database
  • reference an EJB using JNDI
  • set up a Java DB database
  • connect to a database without using JNDI
  • connect to a database using JNDI

EJB Component Model

  • describe the role of EJB components in a Java EE application
  • describe and contrast the features of EJB 3.0, EJB 3.1, and EJB 3.2
  • describe the different types of client access for session EJB components
  • describe the different types of session beans and their corresponding life cycles
  • describe how to package and deploy session beans
  • create a JAX-WS service with an EJB stateless session bean
  • create a remote interface with an EJB stateless session bean

Practice: Working with EJBs

  • practice configuring web services and remote interfaces with stateless session beans

Context and Dependency Injection

  • define Contexts and Dependency Injection (CDI) against a backdrop of process without CDI
  • describe how CDI works and how to use it
  • compare EJB and CDI technologies
  • describe how to use CDI qualifiers to select between multiple implementations of an interface
  • describe how CDI is configured on a Java EE application server
  • describe how to use CDI producers and disposers
  • describe how to use CDI interceptors
  • describe how to work with CDI events and stereotypes
  • inject a bean with CDI
  • use CDI qualifiers for beans

Practice: Working with CDI

  • practice injecting a bean with CDI and using CDI qualifiers

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.