Java EE: EJB 3.0 in the Enterprise, Part 2 of 3
Interactive

Java EE: EJB 3.0 in the Enterprise, Part 2 of 3

LearnNow Online
Updated Oct 25, 2018

Course description

This course takes you beyond the fundamentals of Enterprise Java Bean (EJB 3.0) programming using Eclipse. In this course, you will learn about building message-driven Beans, EJB Security, utilizing Web Services technologies like JAX-WS, and managing distributed transactions. You will also be exposed to Java Interceptors, EJB Timer service, Hibernate JPA caching, EJB design patterns, and deployment.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

This course is intended for intermediate to advanced Java programmers. System architects will find the advanced concepts especially beneficial in designing a framework. Students should have good Java programming knowledge and should be familiar with web application programming, including servlets and JSPs.


Meet the expert

Susan Bryant

Susan Bryant is an experienced IT trainer and consultant with a broad array of skills. She has over 15 years experience in information systems with roles including systems consulting, project management, staff management, staff mentoring, and certified technical trainer. Susan has a strong technical knowledge of IBM WebSphere Application Server, WebSphere Portal Server, WebSphere Process Server, Lotus Domino, and web application development technologies including, Struts, JSF, EJBs and AJAX.

Video Runtime

175 Minutes

Time to complete

235 Minutes

Course Outline

Module 4

MDB Intro (22:07)

  • Introduction (00:37)
  • Trouble with RMI/IIOP (01:58)
  • Messaging to the Rescue (01:24)
  • Messaging Features (01:01)
  • Message Domains (00:38)
  • Publish/Subscribe (01:17)
  • Point-to-Point (01:20)
  • Java Message Service (01:12)
  • Overview (02:51)
  • JMS Interfaces (00:39)
  • Integrating JMS and EJB (01:13)
  • MDBs are Different (00:59)
  • MDBs Cannot Respond (00:55)
  • MDBs are Stateless (01:31)
  • Demo: MDBs (04:00)
  • Summary (00:24)

MDB API (44:58)

  • Introduction (00:30)
  • Message-Driven Bean Interfaces (01:35)
  • javax.jms.MessageListener (00:51)
  • javax.jms.Message (00:47)
  • Lifecycle (01:16)
  • Example: Message Drive Bean (02:52)
  • MDB - Client Example (01:42)
  • Transactions (01:05)
  • Security (00:43)
  • Load Balancing (01:17)
  • Clustering and Topics (01:19)
  • Clustering and Queues (01:05)
  • A Few Tips (01:35)
  • Building a Response (01:58)
  • Potential Problems (01:12)
  • A Simple Alternative (00:50)
  • Type Checking and Messages (00:59)
  • Testing Message-Driven Beans (00:47)
  • Demo: MDB API (22:01)
  • Summary (00:24)

MDB Advanced Topics (12:06)

  • Introduction (00:42)
  • Message-Oriented Middleware (02:02)
  • Durable Subscription (01:19)
  • javax.jms.Message (01:02)
  • Specialized Message Types (02:08)
  • Poison Messages (01:12)
  • Avoiding Poison Messages (02:59)
  • Summary (00:37)
Module 5

EJB Security (43:22)

  • Introduction (01:09)
  • Introduction (02:22)
  • How EJB Security Works (03:57)
  • Protecting Web Resources (01:39)
  • Setting Method Permission (02:05)
  • Defining Roles (01:04)
  • Defining Roles: Annotations (00:35)
  • Specify Methods Permission (02:38)
  • Disable Security Check (02:22)
  • Excludes List (01:10)
  • RunAs Security Identity (02:51)
  • RunAs: Configuration (01:15)
  • Programmatic EJB Security (02:52)
  • Security Role Reference (01:18)
  • Demo: EJB Security (14:56)
  • Summary (01:03)
Module 6

Web Services and EJBs (53:04)

  • Introduction (00:47)
  • Web Services (01:19)
  • Operation and Implementation (01:19)
  • WSDL (02:26)
  • Typical Development Workflow (02:08)
  • Advantages of Web Services (01:43)
  • Web Service Clients (01:23)
  • JAX-WS Overview (02:22)
  • JAX-WS Framework (03:09)
  • Java to XML Data Conversion (01:03)
  • Main Goals of JAX-WS (01:53)
  • JAX-WS Server (01:11)
  • WSDL Overview (01:37)
  • WSDL Document Tags (02:50)
  • Web Services and EJB (01:07)
  • Web Service EJBs (01:14)
  • Annotate the Session Bean (00:52)
  • Annotate the Methods (00:46)
  • Service Endpoint Interface (01:33)
  • Package and Deploy (00:56)
  • Demo: Web Services and EJBs (20:39)
  • Summary (00:38)
;