Call: 080-42177765

 

EJB-3

Print

Objectives
At the end of EJB 3 training course, the participants will be able to:

  • Understand the issues the current EJB technology faces and see the benefits of EJB 3.0
  • Develop Stateless and Stateful EJBs using annotations
  • Develop Message Driven EJBs using annotations and JMS
  • Learn how to inject resources and EJB references in EJB components to simplify resource and EJB lookup
  • Develop persistent components ( entities ) using the new light-weight persistence API, Java Persistence API (JPA)
  • Master the Java Persistence Query Language (JPQL)
  • Model inheritance among entities
  • Map entity hierarchies to database tables using multiple strategies
  • Schedule jobs using the EJB 3.0 Timer Service
  • Implement Aspect Oriented Programming (AOP) solutions using interceptors

Syllabus

1. Overview of EJB 3.0
  • What is an EJB?
  • Why should you use EJB?
  • When should you not use EJB?
  • What's new in EJB 3.0?

2. The EJB 3.0 Simplified API

  • A quick review of annotations in Java 5
  • Overview of using annotations to develop EJB
  • Annotations vs. Deployment descriptors

3. Interceptors

  • Aspect Oriented Programming (AOP) in JEE
  • Intercepting methods
  • Building Interceptor Classes

4. Session Beans

  • Developing Stateless and Stateful beans
  • Related Annotations
  • Life-cycle of session beans
  • Session bean best practices
  • Linking UML modeling constructs with Session Beans

5. Message-Driven Beans

  • Introduction to asynchronous beans
  • Introduction to the Java Message Service (JMS) API
  • Configuring the activation context
  • Configuring the JMS message providers

6. Injectors

  • What are Injectors?
  • Using injectors to access resources and EJBs
  • Accessing the EJB context and the Environment Naming Context (ENC)
  • Setter injection
  • Simplifying lookup of beans and resources using injectors
  • Annotation used for injection

7. Java Persistence API (JPA)

  • Overview of Java Persistence API for EJB 3.0
  • Entity class and O/R mappings
  • Overview of packing and deploying entities

8. Entities

  • Persistent fields and properties
  • Entity relationship mappings
  • Inheritance mappings
  • Annotations and XML descriptors for defining mappings

9. Entity Operations

  • The Entity Manager interface
  • Entity instance life cycle
  • Entity listeners and callback methods

10. Java Persistence Query Language (JPQL)

  • Overview of EJB 3.0 query language
  • Writing portable queries based on Entities
  • Building native queries for performance
  • Building custom finders
  • Polymorphism
  • Automatic storage of query results in plain old Java objects (POJO)

11. EJB Timer Service

  • Overview of Timer Service
  • Timer Service APIs
  • Using injectors to inject Timer Service
  • Programming with Timer Service
  • Scheduling recurring tasks

12. EJB Transactions

  • Container vs. Bean managed transactions
  • Container-managed transaction attributes
  • Transaction propagation
  • Accessing the User Transaction service using injectors
  • Invoking the User Transaction service using JTA
  • Transaction Isolation attributes
  • Session Synchronized Stateful Session Beans
  • Transactions and exceptions
  • Using annotation to specify transaction attributes

 

13. EJB Security

  • Security annotations
  • Roles, Groups and Permissions
  • Declarative vs. Programmatic security
  • Accessing the Security services using the EJB Context
  • Switching the security context

 

Questions?  Request a call back

upcoming training

Java Developer Required 3-5 years of experience on SpringMVC Framework and WebServices
Two-Days Workshop On SpringMVC FrameWork On This Week-Ends: - 12/08/2017 and 13/08/2017
.  

Staffing Solutions

In a dynamically changing world, extracting the most out of your IT Systems requires capable and experienced IT Professionals. To read more on how i-Noesis can make a difference to your business.  

Read more...

Our Clients

IT Services

IT Consulting

We cover a complete variety of IT Consulting Services, be it web design and development, offshore software development solutions, Staff Outsourcing

Read more

Application Development

The software that suits your specific business needs simply isn’t available on the market.

Read more

Academic/IEEE Projects Development

i-Noesis Solutions offers wide range of academic Final Year IT Projects in all technologies of Computer Science for M.Tech, B.Tech/B.E and MCA. 

Read more

Login