Play for Java: Covers Play 2 (Paperback)

Nicolas Leroux, Sietse de Kaper

  • 出版商: Manning
  • 出版日期: 2014-03-31
  • 定價: $1,650
  • 售價: 9.5$1,568
  • 貴賓價: 9.0$1,485
  • 語言: 英文
  • 頁數: 320
  • 裝訂: Paperback
  • ISBN: 1617290904
  • ISBN-13: 9781617290909
  • 相關分類: Java 程式語言
  • 立即出貨 (庫存 < 3)

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

相關主題

商品描述

Summary

Play for Java shows you how to build Java-based web applications using the Play 2 framework. The book starts by introducing Play through a comprehensive overview example. Then, you'll look at each facet of a typical Play application, both by exploring simple code snippets and by adding to a larger running example. Along the way, you'll contrast Play and JEE patterns and learn how a stateless web application can fit seamlessly in an enterprise environment.

About the Book

For a Java developer, the Play web application framework is a breath of fresh air. With Play you get the power of Scala's strong type system and functional programming model, and a rock-solid Java API that makes it a snap to create stateless, event-driven, browser-based applications ready to deploy against your existing infrastructure.

Play for Java teaches you to build Java-based web applications using Play 2. This book starts with an overview example and then explores each facet of a typical application by discussing simple snippets as they are added to a larger example. Along the way, you'll contrast Play and JEE patterns and learn how a stateless web application can fit seamlessly in an enterprise Java environment. You'll also learn how to develop asynchronous and reactive web applications.

The book requires a background in Java. No knowledge of Play or of Scala is assumed.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

What's Inside

  • Build Play 2 applications using Java
  • Leverage your JEE skills
  • Work in an asynchronous way
  • Secure and test your Play application

About the AuthorsNicolas Leroux is a core developer of the Play framework. Sietse de Kaper develops and deploys Java-based Play applications.

Table of Contents

    PART 1 INTRODUCTION AND FIRST STEPS
  1. An introduction to Play
  2. The parts of an application
  3. A basic CRUD application
  4. PART 2 CORE FUNCTIONALITY
  5. An enterprise app, Play-style
  6. Controllers—handling HTTP requests
  7. Handling user input
  8. Models and persistence
  9. Producing output with view templates
  10. PART 3 ADVANCED TOPICS
  11. Asynchronous data
  12. Security
  13. Modules and deployment
  14. Testing your application

商品描述(中文翻譯)

《Play for Java》展示了如何使用Play 2框架構建基於Java的網絡應用程序。本書首先通過一個全面的概述示例介紹Play。然後,您將通過探索簡單的代碼片段並添加到一個更大的運行示例中來研究典型Play應用程序的每個方面。在此過程中,您將對比Play和JEE模式,並了解無狀態網絡應用程序如何無縫適應企業環境。

對於Java開發人員來說,Play網絡應用程序框架是一股清新的空氣。使用Play,您可以利用Scala強大的類型系統和函數式編程模型,以及堅固可靠的Java API,輕鬆創建無狀態、事件驅動、基於瀏覽器的應用程序,並準備部署到現有基礎設施中。

《Play for Java》教您使用Play 2構建基於Java的網絡應用程序。本書以一個概述示例開始,然後通過討論簡單的代碼片段將其添加到更大的示例中,探索典型應用程序的每個方面。在此過程中,您將對比Play和JEE模式,並了解無狀態網絡應用程序如何無縫適應企業Java環境。您還將學習開發異步和反應式網絡應用程序。

本書需要具備Java背景。不需要Play或Scala的知識。

購買印刷版書籍將包括Manning Publications提供的PDF、Kindle和ePub格式的免費電子書。

《內容簡介》
- 使用Java構建Play 2應用程序
- 充分利用您的JEE技能
- 以異步方式工作
- 保護和測試您的Play應用程序

《作者簡介》
- Nicolas Leroux是Play框架的核心開發人員。
- Sietse de Kaper開發和部署基於Java的Play應用程序。

《目錄》
- 第1部分:介紹和第一步
- Play簡介
- 應用程序的組成部分
- 基本的CRUD應用程序
- 第2部分:核心功能
- 企業應用程序的Play風格
- 控制器-處理HTTP請求
- 處理用戶輸入
- 模型和持久化
- 使用視圖模板生成輸出
- 第3部分:高級主題
- 異步數據
- 安全性
- 模塊和部署
- 測試您的應用程序