Chapter 7. Getting started with Spring Portlet MVC

This chapter covers

  • Spring Framework basics
  • Handlers or controllers
  • Handler mappings
  • Handler interceptors
  • Exception handling

In earlier chapters, you learned about the portlet lifecycle and core concepts of the Java portlet technology. You developed the Book Catalog portlet by extending the GenericPortlet class and writing action and render methods containing navigation and validation logic, along with action processing and content generation logic. The portlet class acted as a controller, responsible for data validation, dispatching requests to appropriate JSPs, preparing data for the JSP pages, and encapsulating calls to business services.

As more and more features are added to a portlet, ...

Get Portlets in Action 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.