Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Portals and Portlets and the fly likes Developing Portal and Portlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Developing Portal and Portlet" Watch "Developing Portal and Portlet" New topic
Author

Developing Portal and Portlet

Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 237
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

Joined: Aug 13, 2010
Posts: 3
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

Joined: Nov 20, 2000
Posts: 432
    
    5
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


Author of
Getting started with Spring Framework
Portlets in Action
Spring Roo 1.1 Cookbook
Portlets blogSpring Roo blog
Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 237
Hi,
just to say thanks Parivesh and Ashish for all your help

Mat
 
Consider Paul's rocket mass heater.
 
subject: Developing Portal and Portlet