Spring brings a lot to the table beyond simple MVC capabilities, such as middle-tier access, transaction management, aspect-orientedprogramming (AOP), dependency injection, and so on.
An access control mechanism is given for the protection of the resource module in the object orientedprogramming systems.
给出了一种用于保护面向对象编程系统的资源模块的访问控制机制。
3
It's reasonable to follow common object-orientedprogramming practices and have getters and setters in the public interface, but within a class you should always access fields directly.