Building on the bestselling first edition, EJB 3 in Action, Second Edition tackles EJB 3.2 head-on, through numerous code samples, real-life scenarios, and illustrations. This book is a fast-paced tutorial for Java EE 6 business component development using EJB 3.2, JPA 2, and CDI. Besides covering the basics of EJB 3.2, this book includes in-depth EJB 3.2 internal implementation details, best practices, design patterns, and performance tuning tips.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Book
The EJB 3 framework provides a standard way to capture business logic in manageable server-side modules, making it easier to write, maintain, and extend Java EE applications. EJB 3.2 provides more enhancements and intelligent defaults and integrates more fully with other Java technologies, such as CDI, to make development even easier.
EJB 3 in Action, Second Edition is a fast-paced tutorial for Java EE business component developers using EJB 3.2, JPA, and CDI. It tackles EJB head-on through numerous code samples, real-life scenarios, and illustrations. Beyond the basics, this book includes internal implementation details, best practices, design patterns, performance tuning tips, and various means of access including Web Services, REST Services, and WebSockets.
Readers need to know Java. No prior experience with EJB or Java EE is assumed.
About the AuthorsDebu Panda
- Fully revised for EJB 3.2
- POJO persistence with JPA 2.1
- Dependency injection and bean management with CDI 1.1
- Interactive application with WebSocket 1.0
, Reza Rahman
, Ryan Cuprak
, and Michael Remijan
are seasoned Java architects, developers, authors, and community leaders. Debu and Reza coauthored the first edition of EJB 3 in Action
.Table of Contents
PART 1 OVERVIEW OF THE EJB LANDSCAPE
- What's what in EJB 3
- A first taste of EJB
PART 2 WORKING WITH EJB COMPONENTS
- Building business logic with session beans
- Messaging and developing MDBs
- EJB runtime context, dependency injection,and crosscutting logic
- Transactions and security
- Scheduling and timers
- Exposing EJBs as web services
PART 3 USING EJB WITH JPA AND CDI
- JPA entities
- Managing entities
- Using CDI with EJB 3
PART 4 PUTTING EJB INTO ACTION
- Packaging EJB 3 applications
- Using WebSockets with EJB 3
- Testing and EJB