Java servlets provide a new way to develop server-side solutions. They
provide the features of traditional CGI scripts with the additional benefits
of efficiency and portability. Currently, major corporations are making the
migration from CGI scripts to Java servlets. As a result, the demand for
applet and servlet communication is on the rise.
In the February 1998 issue of JDJ (Vol. 3, Issue 2), I presented a three-tier
database application that used Java servlets. In this article you will learn
how to build a three-tier database application that allows a Java applet to
perform two-way communication with a Java servlet. I'll focus on the concepts
and techniques of applets communicating with servlets, building on the
application presented in the previous article. Don't worry if you missed that
article; a review follows.
Reviewing Our Student Tracker Application
The pr... (more)
Introduction
The rapid acceptance of Java for client and server applications has created
an immediate need to move existing CGI scripts to Java servlets. Java
servlets are server-side components that can extend the functionality of a
Java-enabled web server. Currently, there are a number of enterprise web
applications that provide server-side functionality with CGI scripts. Java
servlets provide a number of enhancements to the current CGI architecture.
In this article, you will learn what servlets are, how you can integrate them
into your web application and what the benefits of u... (more)
The drive to create a successful Web site has resulted in Web applications
that are interactive and informative. A wealth of information is stored in
corporate databases and there is a rush to publish this information on the
Web. Corporations' traditional client/server applications are being edged out
by Web-based applications. This occurrence is possible thanks to the
universal client, the Web browser.
This article is the second in a three-part series on Java servlets. Last
month (JDJ, Vol. 3, Iss. 1), I gave you an overview of the Java servlet
technology and how to migrate you... (more)