aspose file tools*
The moose likes Portals and Portlets and the fly likes MVC Driven Portlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "MVC Driven Portlets" Watch "MVC Driven Portlets" New topic
Author

MVC Driven Portlets

E Cho
Greenhorn

Joined: Apr 24, 2009
Posts: 9
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!
Ashish Sarin
author
Ranch Hand

Joined: Nov 20, 2000
Posts: 403
    
    5
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


Author of
Getting started with Spring Framework
Portlets in Action
Spring Roo 1.1 Cookbook
Portlets blogSpring Roo blog
 
wood burning stoves
 
subject: MVC Driven Portlets
 
Similar Threads
Need help on EJB 3.0 and Struts 2.0
Which Framework Combination do you use?
Struts,Spring,Hibernate in the industry.
Which java MVC Framework is being used most ?
spring portlets