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版)》以OSI-RM为主线索,并以分层的概念较全面讨论了现代通信网的基本原理、结构、相关协议和各种业务节点设
《西湖梦寻注评》内容简介:《西湖梦寻》记杭州历史掌故、绘西湖风俗画卷,是晚明小品圣手张岱代表作之一。本书作者对张岱《西湖梦
《杨司令的少先队》内容简介:本书收录了郭墟的四部小说;《杨司令的少先队》反映东北抗日联军司令杨靖宇领导下的一支儿童战斗队朝
《纽约时报》著名专栏作家兰德尔•斯特罗斯(RandallStross)是被允许进入高度机密的谷歌总部从事采访活动的第一人,在本书中,他
《C++Primer习题集(第5版)》内容简介:C++Primer(Fifth Edition)由三位C++大师Stanley B.Lippman、Josée ...
《一个人的西部·致青春》内容简介:本书是长篇自传体散文《一个人的西部》的青春版。围绕成长、梦想、青春三个关键词,以童年时代
"HTML5andJavaScriptWebApps"isaboutbuildingwebapplicationswithHTML5andW3Cspecific...
《历史文化名城名镇名村系列:沙沟镇》内容简介:本书是一本通俗读物、休闲读物,它不同于一般的学术著作。编者们力图运用通俗易懂
作为一位平面设计师,为什么一定要依赖那些已有的字体、用别人的图形——如果你能够创造自己的标志、字体和书写的话。莱斯利·凯
PythonforSoftwareDesignisaconciseintroductiontosoftwaredesignusingthePythonprogr...
郝柏林,1934年6月生于北京市。1959年毕业于乌克兰国立哈尔科夫大学物理数学系。后在中国科学院物理研究所工作。1978年晋升为研究
《婴幼儿童身心保健》内容简介:儿童处于快速生长发育阶段,各器官系统功能尚不成熟,容易受到外界伤害并罹患各种疾病。因此,家长
当来自最伟大公司的年轻人遭遇最好的创业时代,他们的内心会迸发出怎样的火花?谷歌是公认世界上最伟大的公司之一,是天才最密集
《短距离无线数据通信入门与实战》分别以目前世界上广泛应用的8051内核无线片上系统(SoC)NRF9E5、NRF24E1、CCl010以及无线芯片NR
Python程序设计 本书特色 本书以Python程序设计语言为主要内容,重点强调程序设计概念的理解和计算思维的实践。内容包括:Python语言的介绍和快速入门...
《Java高并发核心编程(卷2)》内容简介:本书聚焦Java高并发编程基础知识,介绍Java多线程、线程池、内置锁、JMM、CAS、JUC、高并
《PhoneGap实战》由来自腾讯的资深专家团队撰写,Adobe中国区专家和PhoneGap中国社区联袂推荐。《PhoneGap实战》内容全面、注重实
Django,thePython-basedequivalenttotheRubyonRailswebdevelopmentframework,ispresen...
《ExtJS源码分析与开发实例宝典》从ExtJS实现的基本功能开始讲解,从两个方面对ExtJS进行整体上的概述,让读者从宏观上去把握Ext
地理信息系统导论-(原著第五版)-(含光盘) 本书特色 《地理信息系统导论(原著第5版)》:经典教材 多次再版 同步引进畅销8年,中译本(原著第1版、第3版)发...