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:
Table of Contents: PART I: An Introduction to Data-Driven Development
- 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
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.