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
《决胜移动终端》内容简介:•在移动互联时代,拥有移动终端的消费者不再需要“去购物”,他们随时随地都“在购物”。这就给企业带来
《Processing开发实战》内容简介:Processing简单易学的界面和编程风格,使很多机器人爱好者或电子制作爱好者,可以借助它完成机器
《南京传》内容简介:春归秣陵树,人老建康城。作为一位公认的文章大家,叶兆言对他写了四十年的南京有着独特理解。南京为他提供了
折线模糊神经网络与模糊系统逼近 本书特色 本书主要分两个方面进行阐述:一方面,基于折线模糊数的算术运算对一类新型的折线模糊神经网络进行建模和性能分析,并讨论该网...
《微电影大导演》内容简介:一个行业的健康持续发展,势必需要更多有志之士,更多人的参与对于精品内容的产生将起到极大的推动作用
《Oracle9i&10g编程艺术:深入数据库体系结构》是讲述Oracle数据库公证的权威指南,凝聚了世界顶尖的Oracle专家ThomasKyte数十年的
《王道与霸道:涩泽荣一对华态度与交往研究》内容简介:作为日本近代资本主义发展史上最为重要的人物之一,涩泽荣一与中国近代史的
《UML参考手册》在第1版的基础上进行了重大更新和扩展。UML的创建者JamesRumbaugh、IvarJacobson和GradyBooch,清晰完整地讲述...
AstheindustrystandardmethodforenrichingthepresentationofHTML-basedwebpages,Casca...
《DDD工程实战:从零构建企业级DDD应用》内容简介:这是一本能教你快速从零构建一个完整的企业级DDD应用的实战性著作。DDD本身涉及
《重新发现改革》内容简介:新中国成立70周年的今天,我们在经济建设上成就斐然。我们回望这70年来的风雨历程,就会发现共和国的崛
专门用途英语系列教材是教育部规划的高等学校(包括高等专科院校和高等职业院校)专业英语阶段的英语教材,也可供电大、各类成人
《未来银行全面风险管理》内容简介:本书从历史演进和核心要义两个纬度,对银行经营模式、巴塞尔协议、COSO企业风险管理框架进行了
★列为全球上百所大学标准教材和首席参考书!★图书馆必备典藏,作者MichaelL.Scott是计算机领域的著名学者,译者是北京大学的裘宗
office2007实用办公技巧从新手到高手 本书特色 《Office 2007实用办公技巧从新手到高手》:50余个实例与实例素材,多媒体视频教学文件,赠送全面...
《官方 Scratch 3.0 编程趣味卡:让孩子们爱上编程(全彩)》内容简介:Scratch是目前热门的儿童编程学习软件,自诞生之日起就受到
《如何做用户增长更有效》内容简介:随着互联网用户逐渐饱和,如何在存量市场中真正找到用户增长的钥匙?在本书中,你会找到想要的
《中东问题研究》内容简介:《中东问题研究》为国内唯一一本专门以中东地区为研究对象的学术辑刊,内容涉及中东历史、经济、政治、
Inthisengrossingbook,twoworld-renownedscholarscompareandcontrastthecosmology,sci...
TheInternetRevolutionintheSciencesandHumanitiestakesanewlookatC.P.Snowsdistincti...