This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 232
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: 232
Hi,
just to say thanks Parivesh and Ashish for all your help

Mat
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Developing Portal and Portlet
 
Similar Threads
Passed IBM 829
Is there any PortletContaner API ?
Any link to Portlet sample for a Newbie Portlet developer
Liferay 5.x portlet development using RAD
Struts portlet in Liferay