File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Portals and Portlets and the fly likes Why Use Protlets? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Why Use Protlets?" Watch "Why Use Protlets?" New topic

Why Use Protlets?

Barry Raczkowski

Joined: Jun 22, 2007
Posts: 13
Why use portlets? Most web apps development kits can divde and protion browser screens to allow users flexiability in look and fell. What do I gain by using portlets. I have not had alot of experience with Portlets and would like to know use cases for requiring Portlet development.
Ankur Srivastav
Ranch Hand

Joined: Aug 31, 2009
Posts: 57

It helps you manage multiple web applications separately. Like if on a page you have two portlets then they can be implemented and managed by two different teams. Also adding/removing/customizing Portlets is pretty easy.

Sun Certified Java Programmer v 1.4
Oracle Certified Associate, Java SE 7 Programmer
JEE 5 Web Component Developer Certified Professional
E Cho

Joined: Apr 24, 2009
Posts: 9
1. Not to mention that Portal enables you to implement security at various levels (pages/portlets/virtual portals/SSO) if properly configured against your user repository(ies).
Which beats having to build your own security framework to do the same thing with your pseudo portlets on a custom web app.

2. Plus various portals come with a content management components (ie Liferay and WebSphere, in my experience) so that you don't have to integrate any 3rd party tools and/or build your own.

3. Portals also have the capability to personalize.... but this feature I find is rarely utilized, but in certain environments, it may be useful.

There are many others... just can't think of any off the top of my head.

Barry Raczkowski

Joined: Jun 22, 2007
Posts: 13
Maybe I am think about portlets ithe wrong way. In general, when I develop an app I try to use different windows to show different pieces of information. I can use visulization techniques to display information in a estatically pleasing way. I guess I would not use portlets for my work.

Who sets the displays up in portlets?
I agree. Here's the link:
subject: Why Use Protlets?
It's not a secret anymore!