Book Image

Learning Modular Java Programming

By : Tejaswini Mandar Jog
Book Image

Learning Modular Java Programming

By: Tejaswini Mandar Jog

Overview of this book

Modular programming means dividing an application into small parts and then developing it. It is an approach taken by developers to build applications and helps them add efficiency in their development process, thus making it more effective. The book starts with the fundamentals of Modular Programming. Then we move on to the actual implementation, where we teach developers how to divide an application into different modules or layers (such as presentation, execution, security, lifecycle, services, and so on) for better management. Once readers are well-versed in these modules and their development, the book shows how to create bindings in order to join these different modules and form a complete application. Next, the readers will learn how to manage these modules through dependency injection. Later, we move on to testing; readers will learn how to test the different modules of an application. The book ends by teaching readers how to maintain different versions of their application and how to modify it. By the end of the book, readers will have a good understanding of modular programming and will be able to use it to build applications with Java.
Table of Contents (15 chapters)

Summary


When we write down an application, it needs to deal with information and data taken from the real world. Along with processing the accepted data, we also need to use this data for future purposes with the help of the persistence layer. The goal of this chapter was to provide different techniques and ways of storing data permanently. Here we have covered most of the techniques to save the data in database tables using Spring. We've covered JDBC overview, mapping data using Hibernate and the integration of these techniques in Spring. Instead of giving a full stop to development, here we moved a step ahead and carried out JUnit testing to find out how the code is actually behaving for a certain set of data.

In the next chapter, we will learn how to develop the most important layer of an application—the business layer—and about communication between the layers.