File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Portals and Portlets and the fly likes How Portlets and JSF are related Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "How Portlets and JSF are related" Watch "How Portlets and JSF are related" New topic

How Portlets and JSF are related

Gaurav Chikara
Ranch Hand

Joined: Jun 09, 2000
Posts: 411
I have been trying to find the solution of this question on internet but am unable to crack the right answer
In any case if any guru amongst you can help me in it that will be great!!


SCJP,SCWCD,SCBCD<br />If Opportunity doesn't knock then build the door
Masoud Kalali
Ranch Hand

Joined: Jul 08, 2004
Posts: 531

I am not a guru but
JSF is a web framework , so it can be used to create JSF portlet
a portlet is a web component which is managed by a portal.
a portlet can be build by some of available web application frameworks like
struts , plain JSPs...
Although jsf spec is tweaked to be more suitable for making Portlets.


Masoud Kalali
Software Engineer - My Weblog - GlassFish Security
Dhananjay Inamdar
Ranch Hand

Joined: Jan 27, 2003
Posts: 130
Hi Gaurav,

At first we will see what is portal. Portal is a J2EE application framework, which is basically responsible for content agreegation from different web application and presenting it on single page called as Portal Page. This portal page will display information of all these applications in small windows, these windows are called as portlets.

JSF is a web framework, which facilitates to maintain the state of user component using backing/managed beans. This framework is basically used in presenatation layer.

Portal needs to use some technology to display content on the portal page. This technolgoy could be JSP, ASP or framework like JSF, Struts, etc.

As a conclusion we can say that Portal is a framework to agreegate the content to display and JSF is a framework to display content, so portal is using JSF to display its contents.

I hope this explanation will help to make things more clear.


Just like you, struggeling to get the right solutions!<br /> <br />Sun Certified Java Programmer 1.5<br /> <br />Target - SCWCD
I agree. Here's the link:
subject: How Portlets and JSF are related
It's not a secret anymore!