ENGLISH

Begining Java EE 7

Book information

Publisher
Apress, Distributed by Springer Science+Business Media
Year
2013
ISBN
9781430246268, 143024626X, 9781430246275, 1430246278
Language
english
Format
PDF
Filesize
42 MB (43606687 bytes)
Pages
\597
Time added
2020-07-26 19:24:52

Description

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;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 in action using practical examples. This definitive book also uses the newest version of GlassFish to deploy and administer the code examples. Written by an expert member of the Java EE specification request and review board in the Java Community Process (JCP), this book contains the best information possible, from an expert's perspective on enterprise Java technologies. 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

Similar books