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:
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
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 unittesting 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.