wood burning stoves 2.0*
The moose likes Servlets and the fly likes what are these servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "what are these servlets" Watch "what are these servlets" New topic
Author

what are these servlets

Archies Gomes
Ranch Hand

Joined: Jun 19, 2005
Posts: 34
can anyone please tell me why and when servlets are used?

[corrected spelling, reduced from ten to one question mark - Dave]
[ November 18, 2005: Message edited by: David O'Meara ]
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
check out the book below. Or better still, search google

Servlet Book


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

A Java application runs on the client machine 'inside' a JVM.
An Applet is a Java program which runs in a browser inside an 'Applet container', ie something designed to contain an Applet.
A Servlet is a Java program which runs on a server inside a 'Servlet container', ie something designed to contain an Servlet.
Paul Bourdeaux
Ranch Hand

Joined: May 24, 2004
Posts: 783
Wow, that is a pretty broad question that could potentially generate a lot of answers.

Servlets play a similar role that CGI programs did back in the "old" days of the web. They provide dynamic content and "just in time" web pages. However, servlets can be much more than just a helper app. I would recommend googling for Servlet Tutorial" or checking out Head First Servlets & JSP for a thorough introduction.
[ November 18, 2005: Message edited by: Paul Bourdeaux ]

“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook
 
 
subject: what are these servlets
 
Similar Threads
Hurricanes suck!
Servlet path stupid question
End of Netscape?
The future of MD
tell me why servets are used