Chapter 1. Getting Started With EJBs

In this chapter, we will cover:

  • Creating a simple session EJB
  • Accessing a session bean using dependency injection
  • Accessing the session bean using JNDI
  • Creating a simple message-driven bean
  • Sending a message to a message-driven bean
  • Accessing an EJB from a web service (JAX-WS)
  • Accessing an EJB from a web service (JAX-RS)
  • Accessing an EJB from an Applet
  • Accessing an EJB from JSP
  • Calling an EJB from JSF
  • Accessing an EJB from a Java Application using JNDI
  • Accessing an EJB from a Java Application using an embeddable container
  • Accessing the EJB container

Introduction

Creating and using Enterprise Java Beans (EJBs) can be challenging and rewarding. Among the challenges are learning the EJB technology itself, learning how to use ...

Get EJB 3.1 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.