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)

Spring security framework


Spring provides a handy, well-defined, declarative solution to provide security by handling authentication and authorization at both request level and method invocation level. Spring provides two ways to handle security:

  • Servlet filters: To handle Web request and URL access restrictions

  • Spring AOP: To handle secure method invocations

Spring provides eight modules to handle Spring Security, as follows:

Module

Description

ACL

This provides support for domain object security via access control lists. The org.springframework.security.acls package enables developers to use it.

CAS Client

This provides integration with JA-SIG's Central Authentication Service. The org.springframework.security.cas package enables developers to use it.

Configuration

This contains support for Spring Security's XML namespace. The org.springframework.security.config package enables developers to use it.

Core

This provides the Spring Security library, which supports standalone applications...