• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

How Portlets and JSF are related

 
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author
Posts: 531
Mac OS X Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic