8.1. What Is a Framework, Anyway?

I referred to Struts as a “framework,” rather than just calling it a set of APIs and tag libraries. Frameworks generally are centered on a particular design philosophy, and everything else that comes along is to assist you in developing code that follows the philosophy. If you agree with the basic design concepts in the framework, then the framework components are great time savers. If you have a different idea about how best to structure things, then you'll be fighting the framework every step of the way. We're covering Struts at this point because it's very much in sync with the design philosophy we were already using in our code.

For our Struts example, we'll revisit the Favorite Team capability we added to ...

Get J2EE™ and JAX™: Developing Web Applications and Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.