aspose file tools*
The moose likes Bunkhouse Porch and the fly likes New book on Java/Spring/Hibernate/Data Modeling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Books » Bunkhouse Porch
Bookmark "New book on Java/Spring/Hibernate/Data Modeling" Watch "New book on Java/Spring/Hibernate/Data Modeling" New topic

New book on Java/Spring/Hibernate/Data Modeling

Amritendu De
Ranch Hand

Joined: Feb 21, 2009
Posts: 140

As some you know I have authored couple of books on Java certification. The books have not done great but good enough for a first time writer. I intend to write another book on Java which I wanted to share with the folks in the most popular forum and get some feedback.

The book I intend to write will be titled "Test Driven Application Development with Spring and Hibernate". The book will be divided into 17 chapters. I will summarize the table of contents:

1. Introduction
2. Architecture
3. Managing a standalone entity
[This will be repeated for every chapter]
a. Domain model
b. Develop the user interface
c. Develop the entity
d. Develop the data access tier
e. Develop the business service tier
f. Develop the presentation tier
g. Integration
[end repeat]
4. Managing a One-to-one unidirectional relationship
5. Managing a One-to-one bidirectional relationship
6. Managing a One-to-one self-referencing relationship
7. Managing a One-to-many unidirectional relationship
8. Managing a One-to-many bidirectional relationship
9. Managing a One-to-many self-referencing relationship
10. Managing a Many-to-many unidirectional relationship
11. Managing a Many-to-many bidirectional relationship
12. Managing a Many-to-many with join attribute relationship
13. Managing a Many-to-many self-referencing relationship
14. Managing a Many-to-many self-referencing with join attribute relationship
15. Managing a Single table inheritance relationship
16. Managing a Table per class inheritance relationship
17. Managing a Table per subclass inheritance relationship

Here is a summary of the chapters:

The book takes into consideration all the relationships of data modeling and solves the problem by designing, developing and unit testing using Spring and Hibernate technology. All developers who are working with relational database driven Spring and Hibernate applications would find it very useful. The book will also be helpful for developers who are using Spring for designing the business service and data access tiers or service based development which supports front ends like Android, iPhone or mobile browser.

Chapter 2 starts with discussion on the most popular data driven Java based architecture – Spring and Hibernate. The architecture along with discussions on each architect-ed and important tier is discussed in detail.

Chapter 3 starts with a simple example of managing a standalone entity. The chapter contains detailed explanations with code examples.

Chapter 4, 5 and 6 focuses on one-to-one relationships. Detailed explanation how to manage a one-to-one unidirectional, bidirectional and self-referencing relationship is covered.

Chapter 7, 8 and 9 focuses on one-to-many relationships. If you wish to manage a one-to-many relationship it being a unidirectional, bidirectional and self-referencing relationship, this chapter shows you how.

Chapter 10, 11, 12, 13 and 14 is about managing many-to-many relationships. If you wish to manage a many-to-many relationship of different forms, these chapters will show the way.

Chapter 15, 16 and 17 is about managing inheritance relationships. The different forms like Single table, table per class and table per subclass relationships are covered in detail.

All the chapters start with a mock service tier which can be used for developing the user interface. The user interface team and the service development team can work in parallel saving crucial dependency time in an agile fashion. You will get a detailed explanation of how to achieve this by reading the first chapter.

Please share your comments on the concept. It will help me add/remove portions from the book. Expected release date is April 2014.

Senior Architect (SCEA 5, TOGAF 9, IBM OOAD, PMI certified)
[Spring 4 and Hibernate 4: Agile Java Design and Development] [OCMJEA Practice Guide] [OCA Java SE-7 and SE-6 Practice Exams]
Abhay Agarwal
Ranch Hand

Joined: Feb 29, 2008
Posts: 1212


Index looks good.

May be a small chapter on Spring refresher shall be helpful. I assume you shall be using Spring Core container to implement Test driven approach.


Oracle Java Web Service Developer (1z0-897), Oracle certified Java 7 Programmer, SCJA 1.0, SCJP 5.0, SCWCD 5.0, Oracle SQL Fundamentals I, CIW Certified Ecommerce specialist
Amritendu De
Ranch Hand

Joined: Feb 21, 2009
Posts: 140

Thanks Abhay for your feedback! Appreciate others feedback as well.
Amritendu De
Ranch Hand

Joined: Feb 21, 2009
Posts: 140

McGrawHill, USA is publishing this work. After a long wait, the board has approved the work. It will take some time to release because there will be several rounds of editing, technical review and proof reading. I will update this post when the book will be available for pre-order on Amazon.
Amritendu De
Ranch Hand

Joined: Feb 21, 2009
Posts: 140

The pre-order link is
I agree. Here's the link:
subject: New book on Java/Spring/Hibernate/Data Modeling