Article: Developing Portlets using JSF, Ajax, and Seam (Part 1 of 3)

| by Ryan Slobojan Follow 0 Followers on Aug 11, 2008. Estimated reading time: 1 minute |

This article, the first in a three-part series by Wesley Hales, lays the framework for the rest of the series. It covers setting up a new project using JBoss Portlet Container and JBoss Portlet Bridge, configuring a JSF application to use JBoss Portlet Bridge, and the capabilities that JBoss Portlet Bridge provides to a JSF application.

From the article:

Portals have gained a lot of ground over the past few years, both in the enterprise and with the new enhancements of the portlet 2.0 (JSR 286) specification. The new 2.0 portlets allow you many freedoms in aggregating different applications and presenting them in different windows on one page. And of course, you get authentication, sophisticated personalization features, and better ways of handling AJAX out of the box.

With the JSR 301 portlet bridge specification, we now have a standard way of running JSF applications as both 1.0 and 2.0 portlets. The portlet bridge handles the portal Action/Render paradigm to properly handle the JSF lifecycle. While this tutorial is mainly to show you how easy it is to configure and develop a JSF portlet, I will also be revealing the new JBoss Portlet Container 2.0 and some of it’s cool new features.

Read the full article here.

Rate this Article

Adoption Stage

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Fatal Error by Venkat Kodali

Hi Wesley,

Nice article, I am getting this error while build. Appreciate your help thanks

[INFO] [cargo:start]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Error while expanding C:\test\jboss\DashboardPortal\DashboardPortal\targe
Unexpected end of ZLIB input stream
[INFO] ------------------------------------------------------------------------
[INFO] Trace
in cargo code: Error while expanding C:\test\jboss\DashboardPortal\DashboardPort

Re: Fatal Error by Wesley Hales

Looks like your download probably died early (reset) or it was corrupt for some reason. Just run 'mvn clean' and go through the process again.

Getting Build Errors by J Crisp

I am trying to work through the article but getting an error:

C:\>mvn install cargo:start -Premote-portal -Dpc20
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'cargo'.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-cargo-plugin' does not exist o
r no valid version could be found

I setup Maven as instructed above. Am I missing something else?

Re: Getting Build Errors by mei xuesong

Yes, I have the same problem.

Re: Fatal Error by Roel Slieker

For some reason the automated downloading gets abrupted, and it's not due to bad network.
Just download the files and manually and put in ./target/installs
Run "mvn install cargo:start -Premote-portal -Dpc20" again and it will work.

Re: Getting Build Errors by Wesley Hales

Make sure you are in the archetype directory that has been created.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

6 Discuss

Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you