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

what are these servlets

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 1514
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
check out the book below. Or better still, search google

Servlet Book
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 783
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Can you shoot lasers out of your eyes? Don't look at this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic