Course code: JJB1« Back

Developing with Enterprise JavaBeans

The course brings an opportunity to familiarize yourself with Enterprise JavaBeans 3. Enterprise JavaBeans is a standard for business logic components in Java EE which is designed to enable distributed computing and load balancing. Integral part of Enterprise JavaBeans is Java Persistence API for object relational mapping in the form of POJOs. The course will focus on both parts as well as on practical deployment to Java EE servers (GlassFish or JBoss). Course replaced Java EE 6/7: Develop Business Components with JMS & EJBs

This course has been removed from our portfolio
This section contains overview of retired courses which don’t belong to GOPAS course offer any more or were replaced by new course versions.
For more information about possibility to buy retired courses contact our customer services department ( or business department (

AffiliateDurationCatalogue priceHandbook priceITB
Praha5 46 500 CZK included in course price 50
Brno5 46 500 CZK included in course price 50
Bratislava5 2 125,00 EUR included in course price 50

User intensity level

Who is the course for

The course is intended for Java developers and architects who know how to assemble simple web applications and want to build more complex Java EE applications.

What we teach you

  • Identify the problem domain and understand why EJB solve it
  • Create business component - session bean
  • Use Java Persistence API, JPQL and access the database
  • Send messages using JMS and invoke message-driven beans
  • Handle exceptions and error conditions in EJB
  • Define transactions using EJB notation
  • Expose a session bean as a web service

Required skills

It is needed to understand Servlets and JSPs and preferably JDBC as well. Some foundations of SQL, XML, SOAP and other Java EE technologies is beneficial.

Teaching methods

Professional explanation with practical samples and examples.

Teaching materials

Powerpoint handouts.

Course Outline

1. Architecture overview

  • Java EE and EJB overview
  • EJB features and benefits
  • Components
  • Distributed systems
  • Threading model
  • AOP
  • JNDI

2. Session Beans

  • Stateless session bean
  • Stateful session bean
  • The life cycle of a bean
  • Remote vs. local calls
  • Interceptors

3. JPA Persistence

  • JPA implementations - Hibernate, EclipseLink
  • EntityManager
  • Data objects (POJOs) as entity beans
  • Entity mapping to SQL tables
  • Entity relations and lazy loading
  • JPQL for database queries
  • Advanced entity mapping

4. Transactions

  • Transactions in general, transaction isolation
  • JTA and EntityManager
  • Declarative transactions on session beans

5. Message-Driven Beans

  • Sending a JMS message
  • Message-driven bean and its life cycle

6. Timer Service

  • Schedulling and triggering tasks
  • Timer Service API
  • Triggering session beans
  • Trigerring message-driven beans

7. Security and Authorization

  • Authorization in Java EE
  • Declarative authorization
  • Programatic authorization

8. EJB 3 and Web Services

  • What are Web Services, SOAP, WSDL?
  • Exposing a session bean as a Web Service

Previous courses

no preceding courses

Next courses

no following course
Tištěné nebo elektronické studijní materiály GOPAS

included in course price
The prices are without VAT.