• 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 ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

MVC Driven Portlets

 
Greenhorn
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?

Thanks!
 
author
Posts: 469
20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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: code.google.com/p/portletsinaction/downloads/list. 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.

regards
ashish
 
First, you drop a couch from the plane, THEN you surf it. Here, take this tiny ad with you:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic