更新时间:2021-07-02 22:21:03
coverpage
Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
Introducing Java EE and Configuring the Development Environment
JSON and HTML5
WebSockets
Simplified JMS 2.0 API
Groundwork for Cloud environments
Batch applications
Updated web profiles
Concurrency utilities
Context dependency injection
Java API for RESTful web services (JAX-RS) 2.0
Servlet 3.1
JNDI
Asynchronous invocation
Timers
EJB Lite
Development in WildFly
Operating system
Java
Application server
Build system
Structure of the exercises
Tests
IDE
Netbeans IDE
IntelliJ IDEA
Eclipse IDE
Importing exercises
Debug exercises
Summary
Working with Dependency Injection
Dependency injection 1.0 for Java
Context and dependency injection 1.1 for Java
Injection and contexts
Managed beans
Producer methods and fields
Bean types
The BeanManager object
CDI
Unmanaged
Enabled and disabled beans
The injection target
Scopes
Session beans
Service Provider Interfaces
Events
Event qualifiers
Observer methods
Container lifecycle events
Utilities
Decorators
Enabled decorators
And more...
Model
TransientReference
Interceptors 1.2
Interceptor classes
Associating an interceptor class with the target class
Default interceptors
Interceptors for lifecycle callbacks
Interceptor bindings
Common annotations for the Java platform 1.2
Common annotation
SQL utilities
Web console for monitoring beans
Persistence
Common JPA annotations
Named queries
Relationships
Cascade on one-to-one and one-to-many
Cascading the one-to-one persist operation
Cascading the one-to-one merge operation
Cascading the one-to-one delete operation
The one-to-one delete orphan cascading operation
Cascade on Many To Many
Cascade of the persist many to many operation
Dissociation of one side in the many to many association
Tricks for many to many CascadeType.REMOVE
Conclusion
News from Java EE 7
Result set
Stored procedures