|
-
Jan 9th, 2002, 05:01 PM
#1
Thread Starter
Hyperactive Member
Simple Question: Whats a Servlet? [RESOLVED]
what is a servlet? is it anything like an applet but server-side or something?
Last edited by CaptainPinko; Jan 24th, 2002 at 10:28 AM.
"There are only two things that are infinite. The universe and human stupidity... and the universe I'm not sure about." - Einstein
If you are programming in Java use www.NetBeans.org
-
Jan 14th, 2002, 07:42 AM
#2
Member
That's right. A servlet runs on your webserver and processes HTTP messaging. Intended for dynamic data on your site. Useful to support downloads.
-
Jan 14th, 2002, 01:35 PM
#3
Well ...
Aye, aye Captain!!
A servlet is a Java class file that runs within a JVM on the webserver. The webserver can be instructed to pass special types of files only through the servlet, or a client can directly invoke a servlet.
At the first request from a client for a servlet, the webserver loads an instance of the servlet into memory, and henceforth all client calls to that servlet are handled by this object instance. So there are less overheads in creating and destroying object instances. This feature claims servlets to be better than CGI programming.
Also the Java security manager makes servlets web-server friendly, and so are claimed to be better than ASP and other such technologies.
.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|