EJB 3 in Action
Год: 2014
Автор: Debu Panda, Reza Rahman, Ryan Cuprak, Michael Remijan
Издательство: Manning
ISBN: 9781935182993
Язык: Английский
Формат: PDF/EPUB/MOBI
Качество: Изначально компьютерное (eBook)
Интерактивное оглавление: Да
Количество страниц: 561
Описание: 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.
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.
What's Inside
- 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
Оглавление
PART 1 OVERVIEW OF THE EJB LANDSCAPE 1
1 What’s what in EJB 3 3
2 A first taste of EJB 25
PART 2 WORKING WITH EJB COMPONENTS 47
3 Building business logic with session beans 49
4 Messaging and developing MDBs 93
5 EJB runtime context, dependency injection, and crosscutting logic 117
6 Transactions and security 160
7 Scheduling and timers 196
8 Exposing EJBs as web services 214
PART 3 USING EJB WITH JPA AND CDI 251
9 JPA entities 253
10 Managing entities 294
11 JPQL 321
12 Using CDI with EJB 3 359
PART 4 PUTTING EJB INTO ACTION 395
13 Packaging EJB 3 applications 397
14 Using WebSockets with EJB 3 427
15 Testing and EJB 458
Доп. информация: Second Edition
Опубликовано группой