Developing RESTful Services with JAX-RS 2.0, WebSockets, and JSON
暫譯: 使用 JAX-RS 2.0、WebSockets 和 JSON 開發 RESTful 服務
Masoud Kalali, Bhakti Mehta
- 出版商: Packt Publishing
- 出版日期: 2013-09-03
- 售價: $1,710
- 貴賓價: 9.5 折 $1,625
- 語言: 英文
- 頁數: 128
- 裝訂: Paperback
- ISBN: 1782178120
- ISBN-13: 9781782178125
-
相關分類:
JavaScript
海外代購書籍(需單獨結帳)
商品描述
Improving your productivity by making the most of Java EE 7's capabilities is made easy and practical with this book. It's the perfect guide to developing RESTful Services utilizing powerful new technologies.
Overview
- Learning about different client/server communication models including but not limited to client polling, Server-Sent Events and WebSockets.
- Efficiently use WebSockets, Server-Sent Events, and JSON in Java EE applications
- Learn about JAX-RS 2.0 new features and enhancements
- Improve scalability with asynchronous processing
In Detail
As the technology landscape moves focus towards smaller devices, the need for building scalable, flexible, lightweight, and real-time communications-based applications grows. HTML 5 and Java EE 7 provide a new synthesis of technologies that demonstrate tremendous scope and potential in areas of device independence, asynchronous communication, interoperability, and portability.
Developing RESTful Services with JAX-RS 2.0, WebSockets, and JSON is a practical, hands-on guide that provides you with clear and pragmatic information to take advantage of the real power behind HTML5 and Java EE technologies. This book also gives you a good foundation for using them in your applications.
Developing RESTful Services with JAX-RS 2.0, WebSockets, and JSON looks at the different HTML5-based Java EE 7 API, and takes a deep dive into the individual areas of technologies to cover basic to advanced concepts, and also provides best practices for each API. You will also learn how to build a REST-based Event Notification Application using the Twitter API, tying all the different technologies together that we will cover. You will also take a look at integrating different Java EE APIs to build a Library Application. If you want to take advantage of using the new HTML5 technologies and Java EE 7 platform, then this is the book for you. You will learn everything you need to know to build portable RESTful Web Services with JAX-RS 2.0, Web Sockets, JSON, and Server-Sent Events.
What you will learn from this book
- Develop RESTful Web Services using the JAX-RS 2.0 API
- Build applications with the JavaScript and Java Client API for WebSockets and ServerSentEvents
- Understand Security and Fault tolerance with WebSockets and ServerSentEvents
- Produce, parse, and manipulate JSON data with the help of JSON-P API
- Cover best practices in building applications with WebSockets, ServerSentEvents, and JAX-RS 2.0
- Learn the aspects of asynchronous programming to improve scalability
Approach
Written as an easy and practical guide, this book is a crash course on using JAX-RS 2.0, JSON, and WebSockets to develop RESTful services.
Who this book is written for
Developing RESTful Services with JAX-RS 2.0, WebSockets, and JSON is a perfect reading source for application developers who are familiar with Java EE and are keen to understand the new HTML5-related functionality introduced in Java EE 7 to improve productivity. To take full advantage of this book, you need to be familiar with Java EE and have some basic understanding of using the GlassFish application server.
商品描述(中文翻譯)
改善您的生產力,充分利用 Java EE 7 的功能,本書提供了簡單且實用的指導。這是開發 RESTful 服務的完美指南,利用強大的新技術。
**概述**
- 學習不同的客戶端/伺服器通訊模型,包括但不限於客戶端輪詢、伺服器推送事件(Server-Sent Events)和 WebSockets。
- 在 Java EE 應用程式中有效使用 WebSockets、伺服器推送事件和 JSON。
- 了解 JAX-RS 2.0 的新功能和增強。
- 通過非同步處理提高可擴展性。
**詳細內容**
隨著技術環境逐漸聚焦於小型設備,構建可擴展、靈活、輕量且基於實時通訊的應用程式的需求日益增長。HTML 5 和 Java EE 7 提供了一種新技術的綜合,展示了在設備獨立性、非同步通訊、互操作性和可攜性方面的巨大範圍和潛力。
使用 JAX-RS 2.0、WebSockets 和 JSON 開發 RESTful 服務是一個實用的、動手操作的指南,為您提供清晰且務實的信息,以利用 HTML5 和 Java EE 技術背後的真正力量。本書還為您在應用程式中使用這些技術打下良好的基礎。
使用 JAX-RS 2.0、WebSockets 和 JSON 開發 RESTful 服務,探討不同的基於 HTML5 的 Java EE 7 API,深入研究各個技術領域,涵蓋從基本到進階的概念,並為每個 API 提供最佳實踐。您還將學習如何使用 Twitter API 構建基於 REST 的事件通知應用程式,將我們將要涵蓋的各種技術結合在一起。您還將了解如何整合不同的 Java EE API 來構建圖書館應用程式。如果您想充分利用新的 HTML5 技術和 Java EE 7 平台,那麼這本書就是為您而寫的。您將學習到構建可攜式 RESTful Web 服務所需的所有知識,包括 JAX-RS 2.0、WebSockets、JSON 和伺服器推送事件。
**您將從本書中學到什麼**
- 使用 JAX-RS 2.0 API 開發 RESTful Web 服務。
- 使用 JavaScript 和 Java 客戶端 API 為 WebSockets 和 Server-Sent Events 構建應用程式。
- 理解 WebSockets 和 Server-Sent Events 的安全性和容錯性。
- 在 JSON-P API 的幫助下生成、解析和操作 JSON 數據。
- 涵蓋使用 WebSockets、Server-Sent Events 和 JAX-RS 2.0 構建應用程式的最佳實踐。
- 學習非同步編程的各個方面以提高可擴展性。
**方法**
本書以簡單且實用的指南形式撰寫,是使用 JAX-RS 2.0、JSON 和 WebSockets 開發 RESTful 服務的速成課程。
**本書的讀者對象**
使用 JAX-RS 2.0、WebSockets 和 JSON 開發 RESTful 服務是應用程式開發人員的完美閱讀資源,特別是那些熟悉 Java EE 並渴望了解 Java EE 7 中引入的新 HTML5 相關功能以提高生產力的人。要充分利用本書,您需要熟悉 Java EE 並對使用 GlassFish 應用伺服器有基本的了解。