• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Developing Portal and Portlet

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have just be asked to look at developing Portal and Portlet for an exsisting website.
Has nanybody got any start pointers, I would like to use JSF2.0 with Facelets, but to be honest
I havent a clue. We are also developing Web Services, would these intergrate with Portal and Portlets in some way.

Mat
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
to integrate existing site to portal and portlet.

1. Divide the whole website in applications. As portlet are also know as application which is designed to do some specific task. Every portal page can have multiple portlets so divide accordingly.
2. In portal you dont need to worry about the header , menus and footers as portal have concept of theme and skin. So you need to develop theme and skins in between that your portlet application will work.
3. if you are using RAD or RSA or any eclipse each can create sample portlet application from which you can understand the portlet and its struture.
4. portal have the concept of action phase and render phase so you need to divide existing site accordingly.
a) render phase : this phase is responsible for just to display the content.
b) tender phase : this phase is responsible to update those attribute or variable which will affect the render phase or the business logic to display content in render phase.

I hope now you got some what idea.

 
author
Posts: 469
20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mat,

You'll need to use a JSF-Portlet bridge to get started with developing portlets using JSF 2.0. You can find an example JSF 2.0 portlet (in the source code of chapter 13) built using portletfaces bridge(http://www.portletfaces.org/projects/portletfaces-bridge) here: http://code.google.com/p/portletsinaction/downloads/list.

Note: Before selecting a JSF portlet bridge, refer to the documentation of the bridge to find out if it is supported by your portal server.

If you're looking for an introductory text on portals/portlets, then you can download the sample chapter of Portlets in Action here: http://manning.com/sarin/

regards
 
Mat Anthony
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
just to say thanks Parivesh and Ashish for all your help

Mat
 
It would give a normal human mental abilities to rival mine. To think it is just a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic