Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

Which web framework to use with portlets?

See also Discussion of portlet development framework selection for portlets delivered as part of uPortal3

Spring

A lot to love here, a learning curve worth climbing, and what's not there you can expect to continue to improve. A framework and a project with a future. And on the learning curve worth climbing point: I think this is an important point, that investing time and energy in learning this framework gains a valuable skill that is applicable to portlet development, to other web application development, to deploying and configuring existing applications. A learning curve worth climbing.

JSF:

Dave Brondsema writes:

We've developed so far 15 of 40 portlet applications using Spring, JSF, and Hibernate. It is working quite well. I've made a sample portlet illustrating how these fit together and documentation explaining how it works and the difficulties I experienced. You can download it from the clearinghouse or directly.

I haven't encountered any of the issues from ericburke.com, although JSF still is relatively young (as are portlets) and there aren't enough JSF components out there yet (so write some!) and some of them don't work too well with portlets yet because they try to put CSS & JS references in <head> or they expect only HttpServletRequest.

The only architectural issues with JSF that I know of are discussed at Improving JSF by Dumping JSF and solved by facelets.

Julien Viet- Lead JBoss Portlet Developer

...

, on JSF for Portlets

My colleague Tom Bayens, project lead of jBPM, asked me questions regarding the web frameworks and the portlet specification. This has been debated at Javaone with the web frameworks smackdown and Stan Silvert presented a session on JSF and portlets.

...