Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

MVC Driven Portlets

Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ashish,

I noticed you've included a chapter or two on the integration on Spring MVC and JSR 286.

In the past I've used JSF 1.x and Struts 1.x to "MVCify" portlets and discovered they were more work than it was worth, especially when integrating a lot of AJAX.

Can you comment on if you've used these or any of the newer versions (ie JSF 2, Struts 2) and how they compare with each other and Spring MVC?

Posts: 469
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

In the past there was no standard Portlet Bridge and also support for AJAX use cases was not addressed by JSR 168.

The portletfaces bridge project supports JSF 2, which takes care of JSF 2.0 AJAX features (thanks to resource URL/ResourceRequest feature of JSR 286). For an example usage of portletfaces bridge (which makes use of JSF 2.0 AJAX feature), you can download the examples of chapter 14 from the following location: You'll find that its now become very easy to expose existing JSF 2.0 web applications as portlets or develop new portlets using JSF 2.0.

Portlets in Action book covers Spring Portlet MVC and not Spring MVC. Spring Portlet MVC is like a mirror image of Spring MVC but it is a dedicated framework for developing portlets. It doesn't hide the multiple request processing phases of portlets, making it a more intuitive framework to develop portlets using Spring Portlet MVC. Chapter 7 and 8 contains many examples of how to use Spring Portlet MVC portlets to create single or multi-page portlets.

You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic