Get up to speed on the principal technologies in the Java Platform, Enterprise Edition 7, and learn how the latest version embraces HTML5, focuses on higher productivity, and provides functionality to meet enterprise demands. Written by Arun Gupta, a key member of the Java EE team, this book provides a chapter-by-chapter survey of several Java EE 7 specifications, including WebSockets, Batch Processing, RESTful Web Services, and Java Message Service.
You’ll also get self-paced instructions for building an end-to-end application with many of the technologies described in the book, which will help you understand the design patterns vital to Java EE development.
Understand the key components of the Java EE platform, with easy-to-understand explanations and extensive code samples
Examine all the new components that have been added to Java EE 7 platform, such as WebSockets, JSON, Batch, and Concurrency
Learn about RESTful Web Services, SOAP XML-based messaging protocol, and Java Message Service
Explore Enterprise JavaBeans, Contexts and Dependency Injection, and the Java Persistence API
Discover how different components were updated from Java EE 6 to Java EE 7
Chapter 1 Java Platform, Enterprise Edition
Introduction
Deliverables
What’s New in Java EE 7
Chapter 2 Servlets
WebServlet
Servlet Filters
Event Listeners
Asynchronous Support
Nonblocking I/O
Web Fragments
Security
Resource Packaging
Error Mapping
Handling Multipart Requests
Upgrade Processing
Chapter 3 JavaServer Faces
Facelets
Resource Handling
Composite Components
Request Processing Life-Cycle Phases
Ajax
HTTP GET
Server and Client Extension Points
Validating Data
Navigation Rules
Faces Flow
Resource Library Contracts
Passthrough Attributes and HTML5-Friendly Markup
Component Tags
Chapter 4 RESTful Web Services
Resources
Binding HTTP Methods
Multiple Resource Representations
Binding a Request to a Resource
Entity Providers
Client API
Mapping Exceptions
Filters and Entity Interceptors
Validation of Resources
Chapter 5 SOAP-Based Web Services
Web Service Endpoints
Provider-Based Dynamic Endpoints
Endpoint-Based Endpoints
Web Service Client
Dispatch-Based Dynamic Client
Handlers
Chapter 6 JSON Processing
Streaming API
Object Model API
Chapter 7 WebSocket
Annotated Server Endpoint
Programmatic Server Endpoint
Annotated Client Endpoint
Programmatic Client Endpoint
JavaScript WebSocket Client
Encoders and Decoders
Integration with Java EE Security
Chapter 8 Enterprise JavaBeans
Stateful Session Beans
Stateless Session Beans
Singleton Session Beans
Life-Cycle Event Callbacks
Message-Driven Beans
Portable Global JNDI Names
Transactions
Asynchronous Invocation
Timers
Embeddable API
EJB Lite
Chapter 9 Contexts and Dependency Injection
Discovery of Beans
Injection Points
Qualifier and Alternative
Producer and Disposer
Interceptors
Decorators
Scopes and Contexts
Stereotypes
Events
Portable Extensions
Built-in Beans
Life-Cycle Callbacks
Chapter 10 Concurrency Utilities
Asynchronous Tasks
Schedule Tasks
Managed Threads
Dynamic Contextual Objects
Chapter 11 Bean Validation
Built-in Constraints
Defining a Custom Constraint
Validation Groups
Method and Constructor Constraint
Chapter 12 Java Transaction
User-Managed Transactions
Container-Managed Transactions
@TransactionScoped
Chapter 13 Java Persistence
Entities
Persistence Unit, Persistence Context, and Entity Manager
Schema Generation
Create, Read, Update, and Delete Entities
Entity Listeners
Stored Procedures
Validating the Entities
Transactions and Locking
Caching
Chapter 14 Java Message Service
Sending a Message
Receiving a Message Synchronously
Receiving a Message Asynchronously
Quality of Service
Temporary Destinations
Chapter 15 Batch Processing
Chunk-Oriented Processing
Batchlet Processing
Listeners
Job Sequence
Partitioning the Job
Chapter 16 Build an End-to-End Application
Introduction
Problem Statement
Walkthrough of a Sample Application
Show Booking (JavaServer Faces)
Chat Room (Java API for WebSocket)
View and Delete Movies (Java API for RESTful Web Services)
Add Movie (Java API for JSON Processing)
Ticket Sales (Batch Applications for the Java Platform)
Movie Points (Java Message Service 2)
Conclusion
Troubleshooting
Completed Solution
Appendix Further Reading
Web Technology Specifications
Enterprise Technology Specifications
Web Service Technologies
Management and Security Technologies
视频精讲:PADS2007原理与布板设计典型实例 本书特色 《视频精讲:PADS 2007原理图与布板设计典型实例》:围绕实践与经验,注重应用和实用基础知识详细...
在线阅读本书InformationsdesignisteinzentralesInstrumentzurLösungvonKommunikationsaufga...
《理念·制度·人》内容简介:20多年超近距离观察华为与任正非,8年研究积淀解析华为快速崛起的底层逻辑。在本书中,华为公司顾问田
从新手到高手WPS Office办公应用从新手到高手 本书特色 本书主要讲解WPS Office 2019的三个主要组件WPS文字、WPS表格以及WPS演示在办...
《大规模数据分析和建模:基于Spark与R》内容简介:这本书的目的是帮助所有人通过R使用Apache Spark。第1章~第5章,简单地介绍了如
《手到病自除2:常见病反射区自愈疗法(下)(2022版)》内容简介:本书是《手到病自除(增订精华版)》系列第二册,书中完整介绍了
网页程序设计HTML5.JavaScript CSS.XHTML.Ajax-第4版 本书特色 陈惠贞编*的《网页程序设计html5javascript css ...
《黔中王学研究:以孙应鳌、李渭为中心》内容简介:本书研究了黔中王学的形成,说明了王阳明龙场悟道和贵州传道是其形成的契机,主
《界岸人家2:一个中国村庄的个体生命史》内容简介:全书共三十四篇,汇集了19个家庭38位村民的生命故事,均采自村民口述。通过三十
AlcAnderson感谢家人对他写作的支持.a他觉得与Ryan合作是件幸运的事.aAl是萨利什库特奈大学的学术IT服务主任,1教授网络服务、网络
《德米安:埃米尔·辛克莱年少时的故事》内容简介:《德米安》是德国作家赫尔曼·黑塞于1919年创作的中篇小说。读者将伴随少年埃米
LearnhowtouseRxJavaanditsreactiveObservablestobuildfast,concurrent,andpowerfulap...
《一平米健身:硬派健身》内容简介:到底是什么,阻碍了我们健身? “69%的人说,我没时间;37%的人说,花销太大;30%的人说,我没
简言之,是一个人和一本杂志的传奇……放在大环境中,是一个时代的跌宕起伏……一直大力地向所有人推荐这本书,只是因为,故事真
《漫画图解人工智能》内容简介:漫画式AI通识课 轻松get人工智能核心问题 ☆ 在AI领域深耕多年的专家首次面向大众讲述 人工智能已经
PythonforSoftwareDesignisaconciseintroductiontosoftwaredesignusingthePythonprogr...
人工智能及其在决策系统中的应用 内容简介 本书介绍了人工智能的概况,讨论了在决策支持系统中普遍应用的人工智能知识表示方法和搜索推理技术,并研究了计算智能和Age...
《ROS机器人项目开发11例(原书第2版)》内容简介:本书涵盖新的ROS发行版中的项目——ROS Melodic Morenia with Ubuntu Bio...
《Scala编程(第5版)》内容简介:本书由直接参与Scala开发的一线人员编写,深入介绍Scala这门结合面向对象和函数式的编程语言的核
《企业级数据与AI项目成功之道》内容简介:大型组织正在竞相实施先进的数据科学。大多数时候,我们的人工智能尝试变成了走进死胡同