Easy to Learn Java: Programming Articles, Examples and Tips

Start with Java in a few days with Java Lessons or Lectures

Home

Code Examples

Java Tools

More Java Tools!

Java Forum

All Java Tips

Books

Submit News
Search the site here...
Search...
 
Search the JavaFAQ.nu
1000 Java Tips ebook

1000 Java Tips - Click here for the high resolution copy!1000 Java Tips - Click here for the high resolution copy!

Java Screensaver, take it here

Free "1000 Java Tips" eBook is here! It is huge collection of big and small Java programming articles and tips. Please take your copy here.

Take your copy of free "Java Technology Screensaver"!.

Question: What is the force driving gurus to come for portlets?

JavaFAQ Home » JSP, Servlets Go to all tips in JSP, Servlets


Bookmark and Share

Question: What is the force driving gurus to come for portlets? Is there any job servlets can not do while portlets can, I think the answer will be yes, but what are the jobs?


Answer: Many portlets split the job of one servlet.

In most (if not all) porlet frameworks there is one frontcontroller servlet which splits up the request dynamically (based on configurations) to the portlets being shown.

The configuration aspect is nice, as you can adjust at runtime which portlet to show to which user role with a portal admin etc.

1. Portlets have a more intuitive api. doView, doEdit, and processAction are more along the lines of how a portlet is written.
2. The ability to store and retrieve per-user preferences saves developers a huge amount of work. Doing this in a servlet environment would mean writing your own persistence logic.


 Printer Friendly Page  Printer Friendly Page
 Send to a Friend  Send to a Friend

.. Bookmark and Share

Search here again if you need more info!
Custom Search



Home Code Examples Java Forum All Java Tips Books Submit News, Code... Search... Offshore Software Tech Doodling

RSS feed Java FAQ RSS feed Java FAQ News     

    RSS feed Java Forums RSS feed Java Forums

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest 1999-2006 by Java FAQs Daily Tips.

Interactive software released under GNU GPL, Code Credits, Privacy Policy