更新时间:2021-07-02 22:05:34
封面
版权信息
Credits
About the Author
About the Reviewers
www.PacktPub.com
Why subscribe?
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
Introduction to Java EE
Java community process
Java EE APIs
One standard multiple implementations
Java EE J2EE and the Spring framework
Summary
JavaServer Faces
Introducing JSF
Facelets
Optional faces-config.xml
Standard resource locations
Developing our first JSF application
Project stages
Validation
Grouping components
Form submission
Named beans
Named bean scopes
Navigation
Custom data validation
Creating custom validators
Validator methods
Customizing JSF's default messages
Customizing message styles
Customizing message text
Ajax-enabling JSF applications
JSF HTML5 support
HTML5-friendly markup
Pass-through attributes
JSF 2.2 Faces flows
Injecting JSF artifacts
JSF WebSocket support
Additional JSF component libraries
Object Relational Mapping with the Java Persistence API
The Customer database
The Java Persistence API
Entity relationships
One-to-one relationships
One-to-many relationships
Many-to-many relationships
Composite primary keys
Java Persistence Query Language
The Criteria API
Updating data with the Criteria API
Deleting data with the Criteria API
Bean Validation support
Final notes
Enterprise JavaBeans
Session beans
A simple session bean
Implementing EJB client code
A more realistic example
Invoking session beans from web applications
Singleton session beans
Asynchronous method calls
Message-driven beans
Transactions in enterprise JavaBeans
Container-managed transactions
Bean-managed transactions
Enterprise JavaBean life cycles
Stateful session bean life cycle
Stateless and singleton session bean life cycles
Message-driven bean life cycle
EJB timer service
Calendar-based EJB timer expressions
EJB security
Client authentication
Contexts and Dependency Injection
Dependency injection
Qualifiers
CDI events
Firing CDI events
Handling CDI events
Asynchronous events