Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Developing Portal and Portlet

 
Mat Anthony
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • 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
 
Parivesh Jain
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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.

 
Ashish Sarin
author
Ranch Hand
Posts: 444
10
  • Mark post as helpful
  • send pies
  • 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: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
just to say thanks Parivesh and Ashish for all your help

Mat
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic