One of the primary strengths of the MVC architecture is the flexibility surrounding model components. The architecture enables you to hide the implementation details of how the model class actually accesses its information.
The model is the piece of the MVC pattern that is least tightly controlled by Struts, specifically because it’s Struts’ job to shield the Web application from it.
You should follow through with this idea by keeping all your implementation-specific business logic out of the Struts components. For example, you should never be doing raw JDBC calls in an Action.
You can achieve even greater independence from the implementation by abstracting your business logic through some kind of object factory, which would enable ...