aspose file tools*
The moose likes Portals and Portlets and the fly likes What is the differences between Portlet and Servlet? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "What is the differences between Portlet and Servlet?" Watch "What is the differences between Portlet and Servlet?" New topic
Author

What is the differences between Portlet and Servlet?

Leonardo Carreira
Ranch Hand

Joined: Apr 07, 2009
Posts: 489

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..


Sorry, perhaps my english language isn't too good.. Prepare for SCJP 6, Please God help me.. ☼
References : [Java.Boot] [JavaChamp] [JavaPrepare]
Ankur Srivastav
Ranch Hand

Joined: Aug 31, 2009
Posts: 57

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


Sun Certified Java Programmer v 1.4
Oracle Certified Associate, Java SE 7 Programmer
JEE 5 Web Component Developer Certified Professional
Jeff Handa
Greenhorn

Joined: Mar 30, 2005
Posts: 15
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:

http://www.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

Joined: Apr 07, 2009
Posts: 489

Okay, Thanks for any replies..
i'll browse and learn it..

and then i'll ask you if i face the problem..
Thanks..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is the differences between Portlet and Servlet?