Beginning Java EE 7 /
Java Enterprise Edition (Java EE) continues to be one of the leading Java technologies and platforms. Beginning Java EE 7 is the first tutorial book on Java EE 7. Step by step and easy to follow, this book describes many of the Java EE 7 specifications and reference implementations, and shows them i...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
[Place of publication not identified] : New York :
Apress ; Distributed by Springer Science+Business Media New York,
©2013.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Contents at a Glance
- Contents
- Foreword
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
- Chapter 1: Java EE 7 at a Glance
- Understanding Java EE
- Architecture
- Components
- Containers
- Services
- Network Protocols
- Packaging
- Annotations and Deployment Descriptors
- Standards
- JCP
- Portable
- Programming Model
- Java Standard Edition 7
- String Case
- Diamond
- Try-with-Resources
- Multicatch Exception
- NIO.2
- Java EE Specifications Overview
- A Brief History of Java EEPruning
- Java EE 7 Specifications
- Web Profile 7 Specifications
- The CD-BookStore Application
- Summary
- Chapter 2: Context and Dependency Injection
- Understanding Beans
- Dependency Injection
- Life-Cycle Management
- Scopes and Context
- Interception
- Loose Coupling and Strong Typing
- Deployment Descriptor
- CDI Specifications Overview
- A Brief History of CDI Specifications
- What�s New in CDI 1.1?
- Reference Implementation
- Writing a CDI Bean
- Anatomy of a CDI Bean
- Dependency Injection
- @InjectInjection Points
- Default Injection
- Qualifiers
- Qualifiers with Members
- Multiple Qualifiers
- Alternatives
- Producers
- InjectionPoint API
- Disposers
- Scopes
- Conversation
- Beans in Expression Language
- Interceptors
- Target Class Interceptors
- Class Interceptors
- Life-Cycle Interceptor
- Chaining and Excluding Interceptors
- Interceptor Binding
- Prioritizing Interceptors Binding
- Decorators
- Events
- Putting It All Together
- Writing the Book and BookService Classes
- Writing the NumberGenerator ClassesWriting the Qualifiers
- Writing the Logger
- Writing the Main Class
- Trigger CDI with beans.xml
- Compiling and Executing with Maven
- Running the Main Class
- Writing the BookServiceIT Class
- Enabling Alternatives and Interceptors in beans.xml for Integration Testing
- Running the Integration Test
- Summary
- Chapter 3: Bean Validation
- Understanding Constraints and Validation
- Application
- Database
- Client
- Interoperability
- Bean Validation Specification Overview
- A Brief History of Bean ValidationWhat�s New in Bean Validation 1.1?
- Reference Implementation
- Writing Constraints
- Anatomy of a Constraint
- Constraint Annotation
- Constraint Implementation
- Applying a Constraint
- Built-In Constraints
- Defining Your Own Constraints
- Constraint Composition
- Generic Constraint
- Multiple Constraints for the Same Target
- Class-Level Constraint
- Method-Level Constraint
- Constraint Inheritance
- Messages
- ConstraintValidator Context
- Groups
- Deployment Descriptors