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
《合伙人:股权分配、激励、融资、转让(第2版)》内容简介:本书由全网粉丝超过500万的HR商学院院长、首席人事官胡华成老师,根据
基于GIS的电网生产管理系统建设与应用 本书特色 本书内容包括电力地理信息系统概论、电力gis及其软件平台选择、电力gis的总体框架、基于gis的电网一体化生产...
《共情:好的亲子关系胜过一切教育》内容简介:近几年青少年心理问题呈现越来越严重的趋势,怎样教育出一个心理健康的孩子,成为每
《C++程序设计(第3版)》内容简介:本书以介绍C++语言的基本知识为主,旨在帮助读者建立面向对象程序设计的编程思想,主要内容包括
这场始于政府工作报告,由互联网和传统行业跨界融合形成的巨大浪潮,正在以中国经济转型为新驱动力的角色,席卷生机勃勃的整个国
WebWorkhelpsdevelopersbuildwell-designedapplicationsquicklybycreatingre-usable,m...
Forintroductorycoursesinelectroniccommunications,datacommunications,andnetworkin...
《什么是高中物理》内容简介:几乎囊括了高中物理的所有知识点,流畅而有趣地讲述这些内容的来龙去脉,并以一个清晰的脉络串起来,
《移动App性能评测与优化》内容简介:本书通过六个专题方向介绍腾讯公司移动互联网事业群在移动应用性能评测优化方面的实战经验,涉
《激进意志的样式(2018年版)》内容简介:本书为“苏珊•桑塔格全集”一种,是桑塔格一本重要的文论集,是对于《反对阐释》所研究的
Essential C++:英文版 本书特色 本书是众多C++初学者的入门经典。全书从4个方面来表现C++的本质:procedural(过程化的)、generi...
实用灰色预测建模方法及其MATLAB程序实现 本书特色 随着灰色理论研究的不断深入及研究成果的大量涌现,灰色预测模型理论体系日趋完善,同时也出现了数以百计结构各...
计算机组成及汇编语言原理英文版 内容简介 这本有创新性的书以Java虚拟机为例介绍了计算机组成及汇编语言的原理,Java虚拟机是一个极为便利、时新,可移植以及几...
《深层认知》内容简介:本书是一部告诉你如何认知事物的内在逻辑、洞悉商业本质的应用指南。有的人可以看到财富的机会,可总是抓不
《我的心又一度的跳荡》内容简介:《我的心又一度的跳荡:徐志摩诗文精选/民国大师精美诗文系列》是一本徐志摩的作品诗文集。他的诗
《大道至简》内容简介:本书提出了审视软件工程的全新视角和软件工程的体系模型(EHM,软件工程层状模型)。本书用非工程的方式重新解
《中国哲学史大纲》内容简介:在《中国哲学史大纲》这本著作中,胡适对我国古代哲学做了系统的梳理,重点论述了老子、孔子、庄子、
计算证劵理论 内容简介 本书采用类似固体力学的确定性模型、原理、理论和方法,对证券(股票、期货、期权等)走势进行定量分析。全书分6章。首先介绍计算证券构思,计算...
《母婴健康照护棘手问题解答:预防出生缺陷 孕育健康宝宝》内容简介:随着预产期临近,准妈妈们最担心的是能否顺利生下宝宝,有什么
《版式设计基础教程》从“什么是版式设计”开始讲解为什么要进行版式设计,版式设计的基本要素、分类以及文字排列的基本方式。除