• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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
 
If you open the box, you will find Heisenberg strangling Shrodenger's cat. And waving this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic