Spring, Hibernate, Data Modeling, REST and TDD:Agile Java Design and Development

Amritendu De

商品描述

Description:

In this book we are developing a multi-tiered object-oriented Java web system using Spring and Hibernate. Instead of real life business requirements, we consider examples of all the relationships of data modeling. With each lesson, we develop the user interface along with the presentation tier in a nimble manner. We also develop the business service tier, the data access tier and the resource (entity) tier with the test driven development agile approach. The chapters contain detailed explanations and code fragments sufficient to get you familiarized with the development techniques. The Appendix section has the link to the entire source code should you require reference to it. I appeal to the reader to go hands on and develop the entire code shown in the book which may aid in improving core concepts of relational database driven web application development.

What you will learn:
  • REST Architecture with support for mobile applications
  • All the relationships of data modeling
  • Development of user interface with JSP, JQuery, AJAX and JSON
  • Development of mock in-memory database
  • Design, develop and unit test the presentation tier
  • Design, develop and unit test the business tier
  • Design, develop and unit test the data access tier
  • Design, develop and unit test the resource (entity) tier
  • Popular patterns and best practices in designing a complete Spring and Hibernate based relational database driven Java web application
Table of Contents:

PART I: An Introduction to Data-Driven Development
Chapter 1. Architecture
Chapter 2. Managing a Standalone Entity

PART II: Managing a One-to-One Relationship
Chapter 3. One-to-One Unidirectional Relationship
Chapter 4. One-to-One Bidirectional Relationship
Chapter 5. One-to-One Self-Referencing Relationship

PART III: Managing a One-to-Many Relationship
Chapter 6. One-to-Many Unidirectional Relationship
Chapter 7. One-to-Many Bidirectional Relationship
Chapter 8. One-to-Many Self-Referencing Relationship

PART IV: Managing a Many-to-Many Relationship
Chapter 9. Many-to-Many Unidirectional Relationship
Chapter 10. Many-to-Many Bidirectional Relationship
Chapter 11. Many-to-Many Bidirectional with Join Attribute Relationship
Chapter 12. Many-to-Many Self-Referencing Relationship
Chapter 13. Many-to-Many Self-Referencing with Join Attribute Relationship

PART V: Managing Inheritance Relationships
Chapter 14. Single Table Inheritance
Chapter 15. Concrete Table Inheritance
Chapter 16. Class Table Inheritance

Unique Selling Points:
  • The techniques given in this book can be used in real-life professional projects and are not present in the specification.
  • The code given as a download option can be used in professional projects reducing development time by 30%.
  • Difficult to find another Java book covering how to design all the tiers of JEE application design-entity, data access, business service and presentation.
  • Difficult to find another Java book covering test driven development at all the tiers of the stack which is a best practice for agile projects very popular in today's market.
  • Difficult to find another Java book covering all the relationships of data modeling which I have covered in detail.
  • Difficult to find another Java book covering REST architecture which is popular in today's world where applications needs to support mobile view along with online view.

商品描述(中文翻譯)

描述:
在這本書中,我們使用Spring和Hibernate開發了一個多層面向對象的Java Web系統。我們考慮的不是真實的業務需求,而是考慮了數據建模的所有關係的例子。每一課我們都以靈活的方式開發用戶界面和表示層。我們還使用測試驅動的敏捷方法開發了業務服務層、數據訪問層和資源(實體)層。每一章都包含詳細的解釋和代碼片段,足以讓您熟悉開發技術。附錄部分包含整個源代碼的鏈接,以供您參考。我呼籲讀者親自動手開發本書中展示的整個代碼,這可能有助於改進關係數據庫驅動的Web應用程序開發的核心概念。

你將學到什麼:


  • 支持移動應用程序的REST架構

  • 數據建模的所有關係

  • 使用JSP、JQuery、AJAX和JSON開發用戶界面

  • 開發模擬內存數據庫

  • 設計、開發和單元測試表示層

  • 設計、開發和單元測試業務層

  • 設計、開發和單元測試數據訪問層

  • 設計、開發和單元測試資源(實體)層

  • 設計完整的基於Spring和Hibernate的關係數據庫驅動的Java Web應用程序的流行模式和最佳實踐

目錄:




第一部分:數據驅動開發簡介


第1章. 架構


第2章. 管理獨立實體




第二部分:管理一對一關係


第3章. 一對一單向關係


第4章. 一對一雙向關係


第5章. 一對一自引用關係




第三部分:管理一對多關係


第6章. 一對多單向關係


第7章. 一對多雙向關係


第8章. 一對多自引用關係




第四部分:管理多對多關係


第9章. 多對多單向關係


第10章. 多對多雙向關係


第11章. 帶有連接屬性的多對多雙向關係


第12章. 多對多自引用關係


第13章. 帶有連接屬性的多對多自引用關係




第五部分:管理繼承關係


第14章. 單表繼承


第15章. 具體表繼承


第16章. 類表繼承




獨特賣點:


  • 本書提供的技術可應用於真實的專業項目,並且在規範中不存在

  • 提供的代碼可用於專業項目,可減少30%的開發時間

  • 很難找到另一本Java書籍涵蓋JEE應用程序設計的所有層次-實體、數據訪問、業務服務和表示層。

  • 很難找到另一本Java書籍涵蓋堆棧的所有層次的測試驅動開發,這是敏捷項目中的最佳實踐,在當今市場上非常流行。

  • 很難找到另一本Java書籍詳細介紹所有數據建模的關係。

  • 很難找到另一本Java書籍涵蓋在當今世界中流行的需要支持移動視圖和在線視圖的REST架構。