Training Capstone Courseware

Training goals dlearning

code: CC-163 | version: v3.0.2

This course gives the experienced Java developer a thorough grounding in Enterprise JavaBeans -- the Java EE standard for scalable, secure, and transactional business components. EJB 3.0 has reinvigorated this area of Java enterprise development, with dramatic improvements in ease of use and smooth integration with servlet-based or JSF web applications. This course treats the 3.0 specification, with a few notes on 2.1 compatibility but an emphasis on doing things the 3.0 way.

Students get an overview of the EJB rationale and architecture, and then dive right into creating session beans and entities. The new dependency-injection features of EJB3 cause perhaps the most confusion, so we work through a chapter devoted explicitly to DI and JNDI, and basically how components find each other to make an application. We study entities and the Java Persistence API in depth, and get a look at message-driven beans as well. The latter phase of the course covers advanced topics including transactions, security, and interceptors.

This version of the course is designed to work with the Java EE 5 SDK, Update 7, which includes the GlassFish application server, version 2.1, and TopLink as the JPA provider. Variants of the course are also available with specific support for recent versions of JBoss and WebLogic.

Conspect Show list

  1. Chapter 1. Overview
    • Enterprise Applications
    • Containers and Objects
    • Three Containers
    • Remote Connectivity
    • Scalability and Availability
    • Security
    • Transaction Control
  2. Chapter 2. Architecture
    • What is an EJB?
    • Types of Beans
    • Inversion of Control
    • The Bean-Type Annotations
    • Dependency Injection
    • The @EJB Annotation
    • The GlassFish Application Server
    • The Administration Console
    • Deploying EJB Applications
    • Configuring Data Sources
    • Development Cycle and Roles
  3. Chapter 3. Session Beans
    • Interface/Implementation Split
    • Stateful vs. Stateless
    • The @Stateless Annotation
    • Lifecycle and State Transitions
    • Session Context
    • The @Stateful Annotation
    • State Transitions
    • Singletons and Pools
  4. Chapter 4. Entities
    • The Java Persistence API
    • Persistence Annotations
    • Configuration by Exception
    • ORM Annotations
    • The EntityManager
    • Acquiring and Using the EntityManager
    • persistence.xml
    • @Enumerated and @Temporal Types
  5. Chapter 5. Associations
    • Associations, Cardinality, and Ownership
    • Annotations
    • Unidirectional vs. Bidirectional
    • The @Embedded Annotation
  6. Chapter 6. Java Persistence Query Language
    • OO Query Languages
    • The FROM Clause and Directionality
    • The WHERE Clause
    • The SELECT Clause
    • Joins
    • Aggregates and Grouping
    • Ordering
  7. Chapter 7. Dependency Injection
    • Interdependent Systems
    • The Factory Pattern
    • The Service Locator Pattern
    • Dependency Injection
    • Injection by Magic?
    • Injection by Type
    • Injection by Name
    • The Component Environment
    • Deployment Descriptors
    • Impact on Stateful Session Beans
    • JNDI
    • Connecting to a Remote Bean
    • Using mappedName
    • Who Can Declare Dependencies
  8. Chapter 8. Message-Driven Beans
    • Asynchronous Messaging
    • The Java Message Service
    • Message-Driven Beans
    • Message Types
    • Injecting JMS Queues
    • JMS Configuration in GlassFish
  9. Chapter 9. Transactions
    • ACID Transactions
    • The EntityTransaction Interface
    • EJB Transaction Attributes
    • Persistence Contexts
    • Extended Persistence Contexts
    • Isolation Levels
    • Application-Managed Persistence
    • The SessionSynchronization Interface
    • Impact on JMS and MDBs
  10. Chapter 10. Exception Handling
    • Java Exceptions
    • Remote Exceptions
    • EJB Exception Handling
    • System Exceptions
    • Application Exceptions
    • Transaction Control
  11. Chapter 11. Security
    • Authentication and Authorization
    • Declarative Authorization
    • Abstract Roles
    • Concrete Realms
    • Configuring User Realms in GlassFish
    • Programmatic Authorization
    • Run-As Identity
  12. Chapter 12. Interceptors
    • EJB and AOP
    • The Intercepting Filter Pattern
    • EJB Interceptors
    • Annotating Interceptor Classes
    • The InvocationContext Interface
    • Binding Interceptors to Targets
    • Shared Lifecycle and Context
    • Interceptors and MDBs
  13. Chapter 13. Timers
    • The EJB Timer Service
    • The TimerService Interface
    • The Timer Interface
    • Timeout Methods
    • Timer Handles
    • Transactions and Timers

Appendix A. Learning Resources

Appendix B. Quick Reference: Java EE Annotations

Download conspect training as PDF

Additional information

  • Solid Java programming skills and understanding of OO Java and Java-5 language features is essential. Course 103 is excellent preparation for this course.
  • Experience with developing Java web applications is very helpful for this course, but not strictly required.
  • Some knowledge of XML will be useful for writing the occasional deployment descriptor, but is not required. Course 501 is recommended for those who would like to get more familiar with XML before pursuing this course.
Difficulty level
Duration 5 days

The participants will obtain certificates signed by Capstone Courseware.


Authorized Capstone Courseware Trainer.

Other training Capstone Courseware | Java EE

Training thematically related



Contact form

Please fill form below to obtain more info about this training.

* Fields marked with (*) are required !!!

Information on data processing by Compendium - Centrum Edukacyjne Spółka z o.o.

1150 EUR


Discount codes

Discount code may refer to (training, producer, deadline). If you have a discount code, enter it in the appropriate field.
(green means entering the correct code | red means the code is incorrect)



Traditional training

Sessions organised at Compendium CE are usually held in our locations in Kraków and Warsaw, but also in venues designated by the client. The group participating in training meets at a specific place and specific time with a coach and actively participates in laboratory sessions.

Dlearning training

You may participate from at any place in the world. It is sufficient to have a computer (or, actually a tablet, or smartphone) connected to the Internet. Compendium CE provides each Distance Learning training participant with adequate software enabling connection to the Data Center. For more information, please visit site



Paper materials

Traditional Materials: The price includes standard materials issued in the form of paper books, printed or other, depending on the arrangements with the manufacturer.

Ctab materials

Ctab materials: the price includes ctab tablet and electronic training materials or traditional training materials and supplies provided electronically according to manufacturer's specifications (in PDF or EPUB form). The materials provided are adapted for display on ctab tablets. For more information, check out the ctab website.



No deadlines for this training.

Suggest your own appointment

Upcoming Capstone Courseware training

Training schedule
Capstone Courseware