History of web application

Earlier in client- server computing, each application
had its own client program and it worked as a user interface and need to be
installed on each user's personal computer. Most web applications use
HTML/XHTML that are mostly supported by all the browsers and web pages are displayed to the client as
static documents. A web page can merely
displays static content and it also lets the user navigate through the content,
but a web application provides a more interactive experience.
Any computer running Servlets or JSP
needs to have a container. A container is nothing but a piece of software
responsible for loading, executing and unloading the Servlets and JSP. While
servlets can be used to extend the functionality of any Java- enabled server.
They are mostly used to extend web servers, and are efficient replacement
for CGI scripts. CGI was one of the earliest and most prominent server
side dynamic content solutions, so before going forward it is very important to
know the difference between CGI and the Servlets.
Common Gateway Interface (CGI)
The Common Gateway Interface, which is normally
referred as CGI, was one of the practical technique developed for creating
dynamic content. By using the CGI, a web server passes requests to an external
program and after executing the program the content is sent to the client as the
output. In CGI when a server receives a request it creates a new process to run
the CGI program, so creating a process for each request requires significant
server resources and time, which limits the number of requests that can be
processed concurrently. CGI applications are platform dependent. There is no
doubt that CGI played a major role in the explosion of the Internet but its
performance, scalability issues make it less than optimal solutions.
Java Servlets
Java Servlet is a generic server extension that means a
java class can be loaded dynamically to expand the functionality of a
server. Servlets are used with web servers and run inside a Java Virtual
Machine (JVM) on the server so these are safe and portable. Unlike applets they do
not require support for java in the web browser. Unlike CGI, servlets don't
use multiple processes to handle separate request. Servets can be handled by
separate threads within the same process. Servlets are also portable and
platform independent.

|
Current Comments
7 comments so far (post your own) View All Comments Latest 10 Comments:Please help me to create login page with session by using servle
Posted by Suvarna on Tuesday, 03.25.08 @ 12:00pm | #54235
I Need Servlet Programs
Posted by m.suresh on Saturday, 01.19.08 @ 22:33pm | #45618
i like java programming......
Posted by MAK on Monday, 12.31.07 @ 16:58pm | #44270
i some one can tell me about history and evolution of client/server and web application.
and multilevel architecture
if anyone can have materials please tell me
Posted by nono on Thursday, 11.22.07 @ 03:58am | #38250
plz tell me the exact meaning of client server application and web application.
Kindly do the needfuul
Thanking you
Posted by Nayaz Khan on Friday, 08.24.07 @ 11:34am | #24026
hi.thanks for the wonderful stuff.
i have a problem, however.
I developed a login form in html,got it validated for user authentication through java servlets,and if user is valid the servlet is redirected to another html page, but now i wish to edit certain tags of the html page before redirection, kindly find some time to answer this soon.
Posted by rimi on Friday, 07.13.07 @ 17:18pm | #21220
Hi Friends....
I am fresher in java platform...
I know little bit knowledge about web application java packages like jsp, servlet, etc...
Now, I want to help from your side....
If you know , how to run servlet program in IBM Websphere....
Please explain in step by step format....
like how mapping servlet program in xml page and everthing....
Posted by Jayavelan on Monday, 07.2.07 @ 12:25pm | #20573