• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How Portlets and JSF are related

 
Gaurav Chikara
Ranch Hand
Posts: 412
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!!

Thanks
Gaurav
 
Masoud Kalali
Author
Ranch Hand
Posts: 531
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


hth
 
Dhananjay Inamdar
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks
Regards,
Jay
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic