DWR Java AJAX Applications (Paperback)

Sami Salkosuo

  • 出版商: Packt Publishing
  • 出版日期: 2008-10-24
  • 售價: $1,810
  • 貴賓價: 9.5$1,720
  • 語言: 英文
  • 頁數: 210
  • 裝訂: Paperback
  • ISBN: 1847192939
  • ISBN-13: 9781847192936
  • 相關分類: AjaxJava 程式語言
  • 下單後立即進貨 (約3~4週)

買這商品的人也買了...

相關主題

商品描述

In Detail

AJAX enables rich desktop-like user interfaces in the browser and enables interactive interfaces that can even replace traditional user interfaces. DWR (Direct Web Remoting) is an Open Source Java framework for building AJAX applications. DWR's main idea is to hide AJAX implementation details, like XMLHttpRequest, from developers. By using DWR, you can concentrate on developing the application and business objects and leave AJAX details behind the scenes where they belong. DWR allows server-side Java classes to be used in the browser and JavaScript functions to be used on the server (Reverse AJAX).

This book will show competent Java programmers how to work with DWR to create powerful AJAX applications. It starts with a tutorial on DWR's main features and functions. Then it covers setting up the development environment. Finally, it concludes with some sample applications.

The later chapters are full of example code for sample applications, to aid comprehension.

What you will learn from this book?

  • Will make your development faster and simpler by teaching you the features of DWR and implementing it with Reverse AJAX.
  • Teaches you how to use DWR JavaScript libraries, Convertors, Creators, Filters and Signatures. Integration with other projects, and Security - factors which are essential to developing any DWR application.
  • Specifies practical aspects such as supported browser and environments, configuration, setting up development environment, testing and debugging, error handling, packaging and deployment in a comprehensive manner, by demonstration where required.
  • Provides a practical demonstration of creating a dynamic user interface, implementing tables and lists, and field completion for you to derive concepts from.
  • Shows advanced elements of user interface through practical examples of creating forms, building a navigation tree, and map scrolling.
  • Teaches back-end integration: integrating a database with DWR, integrating with web services, and integrating with a messaging system.
  • Includes collaborative book authoring and chatroom applications, which show how easy it would be to enhance your applications to production grade using these samples as a starting point for development and as a source of ideas.

Approach

The initial part guides the reader through the features of DWR and how it works to make the developer ready for practical implementation. The later part contains plenty of code (with explanations) and graphical interface-driven step-by-step examples, which the reader can try out while surfing through the book to learn by doing.

Who this book is written for?

This book is written for competent Java developers and assumes that you are a professional rather than hobbyist. You should be familiar with the concepts of programming, Web 2.0, and AJAX.

商品描述(中文翻譯)

詳細內容
AJAX 可以在瀏覽器中實現豐富的桌面應用程式般的使用者介面,並且能夠替代傳統的使用者介面,實現互動式介面。DWR(Direct Web Remoting)是一個用於構建 AJAX 應用程式的開源 Java 框架。DWR 的主要思想是將 AJAX 的實現細節,如 XMLHttpRequest,從開發人員中隱藏起來。通過使用 DWR,您可以專注於開發應用程式和業務對象,將 AJAX 的細節留在幕後。DWR 允許在瀏覽器中使用服務器端的 Java 類,並在服務器上使用 JavaScript 函數(反向 AJAX)。

本書將向熟練的 Java 程序員展示如何使用 DWR 創建強大的 AJAX 應用程式。它首先介紹了 DWR 的主要功能和功能。然後介紹了開發環境的設置。最後,提供了一些示例應用程式。

後面的章節中包含了示例應用程式的示例代碼,以幫助理解。

本書將教您:


  • 通過教授 DWR 的功能並使用反向 AJAX 實現,使您的開發更快速、更簡單。

  • 教您如何使用 DWR 的 JavaScript 函數庫、轉換器、創建器、過濾器和簽名。集成其他項目、安全性等因素對於開發任何 DWR 應用程式都是必不可少的。

  • 以實例演示的方式全面介紹了實際方面,如支持的瀏覽器和環境、配置、開發環境的設置、測試和調試、錯誤處理、打包和部署。

  • 提供了創建動態使用者介面、實現表格和列表以及字段自動完成的實際演示,讓您能夠從中獲得概念。

  • 通過實際示例展示了用於創建表單、構建導航樹和地圖滾動的高級使用者介面元素。

  • 教授後端集成:將數據庫與 DWR 集成、與 Web 服務集成以及與消息系統集成。

  • 包括協作式書籍撰寫和聊天室應用程式,展示了使用這些示例作為開發起點和思路來提升應用程式到生產級的易用性。

方法
本書的前半部分引導讀者了解 DWR 的功能以及它如何工作,以便讓開發人員準備好進行實際實施。後半部分包含了大量的代碼(附有解釋)和基於圖形界面的逐步示例,讀者可以在閱讀書籍時嘗試並進行實際操作學習。

本書適合對象
本書適合熟練的 Java 開發人員,假設您是專業人士而不是業餘愛好者。您應該熟悉編程、Web 2.0 和 AJAX 的概念。