Skip to Main Content
Portlets in Action
book

Portlets in Action

by Ashish Sarin
September 2011
Intermediate to advanced content levelIntermediate to advanced
640 pages
22h 55m
English
Manning Publications
Content preview from Portlets in Action

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, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick
IBM Rational Application Developer V6 Portlet Application Development and Portal Tools

IBM Rational Application Developer V6 Portlet Application Development and Portal Tools

Juan R. Rodriguez, Cristiano Cesario, Karla Galvan, Belen Gonzalez, George Kroner, Gianfranco Rutigliano, Ryan Wilson

Publisher Resources

ISBN: 9781935182542Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link