• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What is the differences between Portlet and Servlet?

 
Ranch Hand
Posts: 494
Eclipse IDE Postgres Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends..

i want to know what's the differences between Portlet and Servlet?..
as far as i browse the book, the Portlet is similiarly with Servlet..
and for what reason we've to use Portlet?..
please correct me if i'm wrong..

Thanks in advance..
 
Ranch Hand
Posts: 57
Eclipse IDE PHP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For this the best place to start will be understanding JSR 168 which is the specification for Portlet. In very short I can tell you that a Portlet and Servlet follow the same life cycle.

To get a good understanding refer to following : http://createportlet.blogspot.com/2009/09/introducing-portal-world.html
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Leonardo,

A quick Google search of servlet vs. portlet will yield a lot of very good explanations.

Cameron's post does a great job explaining why you'd use a portlet over a servlet:

https://coderanch.com/t/203604/Portals-Portlets/java/Portlets-vs-Servlets#986491

I also think this post by Chris from Unicon is a great starting point for developing portlets if you have a background in developing servlets.

http://www.unicon.net/node/586

 
Leonardo Carreira
Ranch Hand
Posts: 494
Eclipse IDE Postgres Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Okay, Thanks for any replies..
i'll browse and learn it..

and then i'll ask you if i face the problem..
Thanks..
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic