Java and Advance java Training, Spring Hibernate training  Flow Us  Twitter For  Connect with Google  Blog  LinkedIn  Ph: +91 98 7171 6360
+91 99 1143 1185

Enterprise JavaBeans (EJB 2) Training

(This course is designed for individual and can be customized as per the business requirements) view class outline
Course No: DG-J206 view class outline Course Duration: 5 Days (40 Hrs.) Ratio of Hands-on/Lecture:
70% hands-on/practical, 30% lecture.
view class outline
Prerequisites:All attendees must have substantial prior experience with Java SE. Study Material: Study material, related courseware, and copies of all files developed during the class provided by us. Location and Pricing : Price of training depends on location and mode of training class. To receive a customized proposal and price quote Get Quote Read More... S/W Required: JDK 6, Eclipse, JBoss 7.0 and MySQL
Batch Size : 2-5, no scheduled batch would be cancel due to less no of participant. Batches are designed in such way so that proper attention can be given to the trainee in order to understand and use the technique tought by trainer.
View Course Objectives in Details
Training Mode :
  • Individual or Group (in 2-5) Training.
  • Week end training by talented working professional.
  • One-On-One training in our location.
  • Regular scheduled batch training in your location or our location.
  • Fast track training in your location or our location.
  • You can opt mode we are flexible and it is according to learner.
view class outline

EJB Training Overview

Introduction to EJB 2 teaches attendees the skills they need to successfully develop all types of Enterprise JavaBeans, including session beans, entity beans, and message-driven beans. The Enterprise JavaBeans EJB 2 training course has been specially designed for professionals looking to build large-scale, scalable, robust, secure, component-based, high-performance, distributed and transactional systems using the EJB 2.1 specification and deploying it as a J2EE application. You will learn the concepts and architecture of Session Beans, Entity Bean, Message Driven beans. You will learn how to use EJB in your project and its best practices. You will also learn about modeling the entity relationships from the enterprise database schema and enforcing those relationships in the EJB component framework using Container Managed relationships. These concepts are further reinforced through the use of well-crafted exercises at appropriate points throughout the course. For this course, we support the JBoss application servers, Eclipse IDE, MySQL DB and JDK 1.4 or heigher version.

EJB Training Prerequisites

All attendees should have a solid Java™ programming experience. Some experience with distributed systems development, especially object-based systems such as Java RMI, CORBA, or COM, is a plus. Some knowledge of JDBC is helpful in understanding the EJB persistence model. Understanding of XML is a plus but is not needed.

EJB Training Objectives

  • Understand the role of EJB in the broader Java EE platform.
  • Describe the features that are implemented by an EJB container on behalf of application components.
  • Develop robust and industrial strength applications using EJB 2.1
  • Package the application to deploy it on a J2EE-compliant server
  • Build Session beans (stateless and stateful)
  • Build stateless session beans as part of a service layer or SOA.
  • Build container-managed persistence (CMP) Entity beans
  • Build bean-managed persistence (BMP) Entity beans
  • Manage transactional behavior of the application through declarative and programmatic techniques.
  • Manage EJB security model behavior of the application through declarative and programmatic techniques.
  • Invoke EJB sessions from Java web applications.
  • Implement message-driven beans to process queued messages asynchronously.
  • Use the timer service
  • Use container-managed relationships (CMR) to model relationships between entity beans
  • Use the EJBQL query language to implement custom finders and Ejb Select methods

EJB 2.1 Training Course Outline

1. Enterprise JavaBeans Architecture Go Top
  • Why Enterprise JavaBeans (EJB)
  • EJB Design Goals
  • EJB Fundamentals
  • Proxy Pattern
  • Enterprise JavaBeans Workflow
  • How do Enterprise JavaBeans Work
  • EJB Roles
2. Remote vs. Local EJB
  • The Bean Implementation, Remote and Local Business Interface
  • Remote home and component interface definitions
  • Local home and component interface definitions
  • EJB Context
3. Developing Session Beans
  • Defining Stateless and Stateful Session Beans
  • EJB Container and bean pool management
  • Lifecycle of Stateless and Stateful Session Beans
  • Session Beans guidelines
4. Developing Entity Beans
  • Entity Beans concepts
  • Entity Bean and primary key
  • Entity Bean's home and component interface
  • Entity bean's lifecycle
  • Container-Managed Persistence (CMP)
  • A complete CMP example
5. Developing EJB Applications
  • Enterprise Bean's Environment
  • Service Locator Pattern
  • Data Transfer Object Pattern
  • Session Facade Pattern
  • When to Use, Coarse-Grained Business Interfaces, Session Facade, Transaction
6. Container-Managed Relationships
  • Types of relationship
  • Defining relationships
  • Container-managed relationship (CMR) field
  • Relationship and assignment semantics
  • Deployment descriptors for CMR
  • A complete CMR example
7. EJB Query Language
  • Overview of EJB QL
  • Abstract schema and query domains
  • Select clause
  • From clause
  • Where clause
8. Advanced CMP 2.0 Topics
  • Ejb Select Methods
  • Home Methods
9. Developing BMP Entity Beans
  • Overview of Bean Manager Persistence
  • Lifecycle of BMP beans
  • Implementing BMP lifecycle methods
  • Data Access Object (DAO) pattern
  • Abstract factory for DAOs
  • Using Data Access Object (DAO) pattern to implement BMP
10. Introduction to Java Message Service (JMS)
  • Overview of enterprise messaging
  • Point-to-point and publish-subscribe messaging styles
  • JMS administered objects
  • JMS application development
11. Developing Message-Driven Beans
  • Message-Driven Beans and JMS destination
  • Client view of MDB
  • MDB lifecycle
  • Message Listener interface
  • Message Driven Context interface
  • Deployment descriptors for MDB
  • MDB with JCA resource adapter
12. EJB Timer Service
  • Overview of Timer Service
  • Timer Service APIs
  • Programming with Timer Service
13. Transactions
  • Overview of EJB Transaction
  • Container-Managed Transaction
  • Bean-Managed Transactions
  • Transaction Isolation Level
  • Transactional Stateful Session Beans
  • Exceptions and Transactions
14. EJB Security
  • Overview of EJB security
  • Security roles
  • Security role references
  • Method permissions
  • Object level security
  • Security context

Our Offerings