wood burning stoves*
The moose likes Portals and Portlets and the fly likes What is needed to use portals/portlets? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "What is needed to use portals/portlets?" Watch "What is needed to use portals/portlets?" New topic
Author

What is needed to use portals/portlets?

Mike Firkser
Ranch Hand

Joined: Oct 21, 2003
Posts: 247

I saw in an answer to another question that you need a proper container to use portals/portlets. Are there specific application servers to use or just certain jars you need to have portals/portlets using Java?

Thanks.


Mike Firkser
Rutgers '84
Eric Ford
Greenhorn

Joined: Jun 04, 2010
Posts: 17
Mike Firkser wrote:I saw in an answer to another question that you need a proper container to use portals/portlets. Are there specific application servers to use or just certain jars you need to have portals/portlets using Java?

Thanks.


The first thing you need is a good reason to use a portal architecture. Portals/portlets were all the rage for a while and many were implemented when simpler architecture would have been much more appropriate. The best scenario I have seen is when you have an assortment of applications that are somewhat related in their purpose, serving a coherent group, and that would benefit from centralized security/access control and maintenance. Of course, there's nothing wrong with implementing a simple portal/portlet project just for the experience and to give yourself something to base later decisions on. Take a look at Liferay or JBoss portal for a couple of free and open-source portal servers that are relatively easy to get up and running. Both are fully capable enterprise servers.
Ashish Sarin
author
Ranch Hand

Joined: Nov 20, 2000
Posts: 432
    
    5
Hi Mike,

Portal infrastructure consists of:
- Portal server: aggregates content from different portlets to show a portal page. A portal page consists of multiple portlets (or windows you can say). You can think that portal server component sits on top of portlet container component.
- Portlet container: manages portlet lifecycle, just like servlet container manages lifecycle of Java servlets.

If you compare portlet container with a servlet container, then you'll find a lot of similarities between them. In most cases portal server and portlet container components are bundled together and built on top of an existing servlet container. In a way, the portlet container uses the existing features of servlet container to full-fill its responsibilities. The product vendor will usually specify the application servers on which their portlet server/container will work. For instance, Liferay comes bundled with JBoss, Tomcat, Jetty, and so on.

So, your understanding is correct, you do need proper infrastructure to use Java portlet components.

regards
ashish


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

Joined: Aug 09, 2005
Posts: 61
As we need a servlet container to run servlets/jsp, we need a portlet container to run the portlets. Portal is typically a wrapper web application that uses container and implements additional functionalities like UI console to manage the portlets (like adding,removing portlets on a page ...etc)

Pluto is one of the portlet containers (set of jars), that can be configured on existing servers like tomcat and then your tomcat turns into a Portal Server (Hope I am correct here)

Generally most of the open source portals are embedded in existing web/app servers like tomcat,geronimo..etc. Liferay portal is a good example. You can download liferay portal embedded in most of the servers.
A portal can also be a simple web application that can be deployed in any server.

The relation is : portlet (JSR168/286) > Portal (Liferay/WebspherePortal/JBOSS Portal) > portlet container (pluto container or any other implementations)
Reddy Prashanth
Ranch Hand

Joined: Aug 09, 2005
Posts: 61
I should have refreshed the page, before posting
Ashish Sarin
author
Ranch Hand

Joined: Nov 20, 2000
Posts: 432
    
    5
And I should have waited for sometime for you to post the answer
Mike Firkser
Ranch Hand

Joined: Oct 21, 2003
Posts: 247

Thanks everybody. This should give me a good starting off point.

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: What is needed to use portals/portlets?
 
Similar Threads
what is portlet ?
from ramesh
Who knows portlet well?
Developing Portal and Portlet
technology for matrimonial portal