Table of Contents
- MVC Fundamentals
- JSP Custom Tags
- Filters
- Listeners
- Maven
MVC Fundamentals
Model-View Architecture (Model-1)
Components
- Model: Data handling and Business logic (Java beans)
- View: Presentation/appearance of the data (JSP)
Characteristics
- Tight Coupling: Java beans are tightly coupled with JSP pages (
jsp:useBean
)
- Page Dependencies: JSP pages are tightly coupled with other JSP pages (
href="..."
, action="..."
)
- Change Impact: Any changes in bean or JSP lead to changes in multiple other components
Suitability
- Best for: Small applications
- Limitations: Difficult to maintain as application grows