• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

What is needed to use portals/portlets?

 
Ranch Hand
Posts: 249
Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
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 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
 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I should have refreshed the page, before posting
 
Ashish Sarin
author
Posts: 469
20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And I should have waited for sometime for you to post the answer
 
Mike Firkser
Ranch Hand
Posts: 249
Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks everybody. This should give me a good starting off point.

 
If you send is by car it's a shipment, but if by ship it's cargo. This tiny ad told me:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic