CTE Solutions chair
Quick Search:  
Course No.  
FacebookTwitterLinkedInYouTube
Savings

Got A Question?
Talk to an Educational Consultant and get the answers you need.

By Phone
Ottawa: 613-798-5353
Toronto: 416-284-2700
Toll Free: 866-635-5353

right arrow Ask your question online

JV011 - Developing Enterprise JavaBeans V 3.0

View Dates and Locations

Summary


Java Training


Objective


The EJB architecture is a component architecture for the development and deployment of component-based business applications. Applications written using the Enterprise JavaBeans architecture are scalable, transactional, and multi-user secure.


The purpose of EJB 3 is to improve the EJB architecture by reducing its complexity from the EJB developer's point of view.


Table of Contents


1. Introduction


  • What is JEE
  • JEE APIs
  • JEE Architecture
  • Benefits of JEE

2. EJB 3 Concepts


  • What is new in EJB 3?
  • EJB Roles
  • Web Services
  • Types of EJB
  • Session Bean
  • Message-Driven Bean
  • Flexible Model

3. Session Bean


  • Session Bean Contract
  • Classes and Interfaces
  • The Stateless Session Bean
  • Requirements for Stateless Session Bean
  • The Life Cycle of a Stateless Bean
  • Life in the Method-Ready Pool
  • Life Cycle Methods
  • Dependency Injection
  • SessionContext Interface
  • EJBContext Interface
  • Example: Business Interface
  • Example: Bean Class
  • Steps to Compile
  • Run Application
  • Conversational State of a Stateful Session Bean
  • Requirements for  Stateful  Session Bean
  • The Life Cycle of a Stateful Bean
  • Lifecycle Callbacks for Stateful Session Beans
  • Bean’s Conversational State
  • Example

4. Message-Driven Beans


  • Overview of MDB
  • Overview of JMS
  • Using JMS
  • Type of Messages
  • Message Producer : Session Bean
  • @MessageDriven
  • @ActivationConfigPropert
  • Message Consumer: MDB
  • Example

5. Writing a Client


  • Overview
  • Locating Objects with JNDI
  • The Server Namespace
  • Locating JNDI Service
  • Environmental Object in the InitialContext
  • System Properties
  • Client View
  • Remote Client
  • Local Client
  • Obtaining a Session Bean’s Business Interface
  • Client View: Entity
  • Obtaining an EntityManager

6. JPA and Entity


  • Java Persistence API
  • Entity  Overview
  • Domain Model
  • EntityManager Interface
  • Primary Keys 
  • Developing  Entity
  • Entity  Details
  • Entity  Client
  • Dependency Injection
  • Dynamic Lookup
  • EntityManager
  • Security
  • Example

7. Dependency Management


  • Overview
  • The JNDI ENC and Injections
  • What Can Be Registered in the ENC?
  • How is the JNDI ENC Populated?
  • Annotation Population
  • Dependency Lookup
  • Dependency Injection
  • Declaring Dependencies
  • @EJB
  • @PersistenceContext
  • @Resource
  • @Resources

8. Object-Relational Mapping


  • Field Access
  • Property Access
  • Mapping to a Table
  • Column Mapping
  • Mapping Simple Types
  • Mapping the Primary Key
  • Identifier Generation
  • Primary-Key Classes
  • Finding an Entity
  • Removing an Entity
  • Updating an Entity
  • Finding all Records
  • Example: Primary ID is Known
  • Example: Primary ID is Not Known

9. Transactions


  • Overview
  • Distributed Transactions
  • Isolation Levels
  • Transactions in EJB
  • Managing Transactions
  • BMT
  • CMT
  • Transactions Attributes
  • Transactions Outside the Container
  • Example

   

 

      3 Ways to Register
$1,425.00
$1,211.25 CAD
online only

Register Online
1 (866) 635-5353
sales@ctesolutions.com
Ask About This Course

  Latest Tweet


About This Course
Certifications
Register Online and instantly save!