In Practice

Now that we have looked at the structure of the Java Servlet API and what servlets are, we’ll build a Web-based user interface for our ChalkTalk application.

We will create the Web interface as a simple Web application called chalktalkweb that demonstrates the steps involved in creating a Web-based application in JBuilder using servlets. This application simply provides a Web page to display the results of the browseCourses method in the com.sams.chalktalkuserservices.CommonOperations class. To demonstrate the implementation of session tracking, a servlet will be created that makes calls to both the Login and Logout methods of that class.

To give you an idea of where we are going, here is a summarized list of all the steps we will ...

Get Borland® JBuilder™ Developer’s Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.