j2ee: Struts overview [21/27] ![]() ![]() ![]() |
We have discussed a little bit of the MVC architecture as we discussed integrating servlets and JSPs. However, it is considered best practice to use a framework that helps enforce the design guidelines of MVC, instead of having developers write a web application from scratch.
Model 1 vs. Model 2
There are a number of MVC frameworks available for J2EE, but the most popular is definitely the Struts framework from the Apache Jakarta project.
A web framework usually provides: