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 8. Annotation-driven development with Spring

This chapter covers

  • Spring Portlet MVC annotations
  • Dependency injection using JSR 330 and JSR 250
  • Validation using Spring Validation API and JSR 303
  • Using Spring’s form tag library
  • Localization and file upload support
  • Unit testing with Spring’s TestContext framework

In the previous chapter, you created Spring controllers and provided a HandlerMapping bean definition in the web application context XML file to map portlet requests to appropriate controllers. But wouldn’t it be easier if you could specify which portlet request is handled by a controller in the controller class itself? In this chapter, we’ll expand on the core concepts covered in the previous chapter and see how Spring’s ...

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