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
Gooduserinterfacedesignisntjustaboutaestheticsorusingthelatesttechnology.Designe...
可用性设计是Web设计中最重要也是最困难的一项任务。《点石成金》的作者根据自己多年从业的经验,剖析用户的心理,在用户使用的模
朴实的语言,结合超过100幅的纯手工绘图和超过30幅的住宅真实照片,全面清晰的将住宅设计的34个法则娓娓道来。怀念曾经充满人情味
《JavaWeb编程从入门到实践》内容简介:JavaWeb开发是目前最流行的网络开发技术之一。《JavaWeb编程从入门到实践》由浅入深,结合
本书由DNA双螺旋的发现者之一JamesD.Watson及其他几位著名学者在第六版的基础上修订完成。本书除了反映分子生物学领域的最新进展
《一朵云推动另一朵云》内容简介:成长,永远是一个人生命中最重要的功课。本书俞敏洪对教育的反思,也是俞敏洪的率真世界观。通过
《迎接互联网的明天-玩转3DWeb(附盘)》,全书共5章,第1章主要阐述了国内外空前繁荣的3D互联网技术领域,以及这些领域透射出来的
《报业转型与图片资源开发》内容简介:报业集团肩负着时代发展的重任,报业的转型是时代的风向标,是社会转型的温度计,是文化转型
《全国通信专业技术人员职业水平考试参考用书:通信专业综合能力(初级)》依据《全国通信专业技术人员职业水平考试大纲》要求编写。
《企业成长导航》内容简介:企业成长是企业从小到大、从弱到强的过程。从可量化的指标看,成长表现为经营业绩、资产规模的持续增长
《20世纪英国女作家研究》内容简介:英国女作家的小说创作是世界文学史上辉煌的一页,本书聚焦20世纪英国有影响的女作家及其作品,
本书以IEEE802系列标准为主介绍局域网与城域网的相关技术,涉及lOMbps以太网、快速以太网、千兆位以太网、万兆位以太网、交换式以
郑纬民男,1946年生,浙江宁波人。1970年毕业于清华大学自动控制系并留校任教。1982年在清华大学计算机系获硕士学位。现为清华大
网上开店装饰秘技 本书特色 王红卫等编著的《网上开店装饰秘技(附光盘)》以*新版的photoshopcs6中文版为工具,详细讲解了photoshop在网上店铺装...
“网页亲和力(WebAccessibility)”一词为台湾地区的说法,大陆地区多译做“网页可访问性”。前者易于理解,而后者则术语感更强
建筑是知性和理性的产物,完全承受着人们经年累月活动在其中,所以对于房间的布局必须仔细考虑,任何细节也不能放过。建筑是感性
《见微知著:从软件实践到软件工程》以一个非常典型的软件系统——酒店信息管理系统的开发为例,站在欠缺经验的IT学生的角度,介绍
无论是软件开发、工程还是建筑,有效的设计都是工作的核心。《设计原本:计算机科学巨匠FrederickP.Brooks的思考》将对设计过程进
《犹太人智慧全书》内容简介:犹太民族并非上帝的宠儿,他们的成功是由苦难的历史铸就的。犹太民族长期饱受躁躏、放逐、杀戮,面对
时代永远在变化,科技永远在进步,平台的发展也日新月异。平台如战场,各路企业在平台的“基础设施支持”、“浏览支持”、“内容