Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Moving from Servlets to portlets

 
Udayan Kumar
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I read in one of tutorials pertaining to portal & portlets something like this
----------------
Because the portlets are written as components, they can be cleanly written and tested. Applications which currently use many servlet includes might be more cleanly written as portlet applications
----------------

I am just curious to figure out what are the cases when using portlets makes more sense over plain servlet approach.


Regards,
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They key time to write a portlet is when you are running on a portal server.

A portal provides a number of great features, including view pluggability in the form of portlets, design elements factored out into elements such as themes and skins, not to mention easy facilities for allowing a user to customize and personalize a site.

Choosing to use a portal or not is the real question. When that decision is made, the developer really isn't left with a choice.

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic