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


Security is a very important part of any application and needs to be carefully handled. As each application and its requirements are different due to the ways of authentication, like form-based or basic; the developers need to wisely make a decision on which one to use. In this chapter, we have seen URL-based, as well as method-based, ways to provide security. The users with their assigned roles can be configured in the XML. We also saw how to use databases to configure the authentication information. Sometimes the user uses the application frequently and may not want to log in each time they access the application. We also covered remember me functionality to take away the burden of login. We also saw how to use logout in the application.

In the next chapter, we will be covering problems during the versioning of an application, problems for collaborating on the application when it's been distributed among the team members. We will also configure the software which provides versioning...