XML and Java Servlets

Java servlets are supposed to be to Web servers what Java applets are to Web clients. You can use servlets to create Web documents on suitably enabled servers. To create servlets, you can download the Java Servlet Development Kit (JSDK) from java.sun.com (as of this writing, the main page for servlets is http://java.sun.com/products/servlet/index.html) and create servlets using the classes in servlet.jar and server.jar.

To read the names of the students from db.mdb, I'll use the Java Database Connectivity package (JBDC), interfacing to db.mdb after registering that database as an open database connectivity (ODBC) data source. After searching for all the students, I'll return their names in an XML document and send that ...

Get Inside XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.