EJB 3

The following documentation is a guide on how to use EJB 3. You can also obtain more information regarding some of the topics that will be discussed

The site has been comprised of reading the following books and real world experience, if you are new to EJB I highly recommend that you should purchase these books as it contains far more information than this web site contains and of course the Official EJB web site contains all the documentation you will ever need.

Please feel free to email me any constructive criticism you have with the site as any additional knowledge or mistakes that I have made would be most welcomed.

EJB Introduction
  EJB overview
  EJB Types
  Inside EJBs
  Unit Testing

EJB 3 Getting Started
  Metadata Annotations
  Dependency Injection
  Test Application
  Business Logic with Session Beans
  Message-Driven Beans
  Persisting Data with JPA

Session Beans
  Session Beans
  Session Bean Anatomy
  Bean Lifecycle
  Stateless Session Beans
  Stateful Session Beans
  Stateless and Stateful differences
  Session Bean Clients
  Performance

Message Driven Beans
  Messaging Concepts
  Java Messaging Service (JMS)
  MDB Annotations
  MDB Lifecycle
  MDB Best Practices

Advanced EJB 3
  EJB Internals
  DI and JNDI
  Interceptors
  EJB 3 Timer Services

Transactions and Security
  Transaction Introduction
  Container Managed Transaction (CMT)
  Bean Managed Transaction (BMT)
  EJB Security

Domain Models
  Domain Modeling
  Entity Annotations
  Entity Relationships

Object-Relational Mapping (ORM)
  Impedance Mismatch
  Mapping Objects to Databases
  Mapping Entities
  Secondary Tables
  Primary Keys
  Mapping Entity Relationships
  Mapping Inheritance

Manipulating Entities with EntityManager
  EntityManager Introduction
  Entity Lifecycle
  EntityManager Instances
  Managing Persistance Operations
  Entity Lifecycle Listeners
  Best Practices

Query API and JPQL
  Query API
  JPQL
  Native SQL queries

EJB 3 Packaging
  Application Packaging
  Class Loading
  Deployment Descriptors v Annotations

EJB 3 Integration
  Design Patterns
  Presentation
  Persistence
  Application
  Session Beans
  Session Beans and Helper Classes

Performance and Scalability
  Entity Locking
  Pessimisstic Locking
  Optimistic Locking
  Lock Modes
  Improving Performance
  Tuning the JDBC Layer
  Reducing Database Operations
  Improving Query Performance
  Caching
  EJB 3 component performance
  Clustering EJB applications

Migrating to EJB 3
  EJB 2 migration (A number of topics are discussed)

EJB as a Web Service
  What is a Web Service
  Web Service Components
  SOAP Message
  WSDL
  JAX-WS

Miscellanous
  RMI and JNDI

Links
  The official EJB web site

Books

EJB 3 Books
EJB 3 in Action - Debu Panda, Reza Rahman and Derek Lane This book is a lot easier read than the O'Reilly version, it is definiately more of a beginners book. It covers just the basics which what a beginner needs and also cross-references the old EJB 2 version, which makes a case for upgrading to EJB 3. There is also some referencing with Spring which all helps when learn a new technology.
Enterprise Java Beans 3.0 - Richard Monson-Haefel, Bill Burke This book is a very heavy read and if you are new to EJB (like myself) then I advise you to read the above book first, although a very good book try to pace yourself otherwise you will become easily bored.
Java Persistence with Hibernate - Christian Bauer, Gavin King This book goes in to much more depth than the two books above regarding Java Persistence, so it compliments them both. As with all the Manning books they are easy to read and ideal for a beginner developer like myself.
Beginning POJO's - Brian Sam-Bodden Just started to read this so will update his page when finished
POJO's in action - Chris Richardson Just started to read this so will update his page when finished
Head First EJB - Kathy Sierra, Bert Bates I love the Head First books, they are fun and very easy reading, although this version is dated (EJB 2), it worth reading as you get a background on what EJB 3 is trying to archive, also some of the topics are still irrevilant and help to explain in a graphical way.