Java Reference
In-Depth Information
We briefly return to the subject of servlets in Chapter 21 and their role in the area
of web services.
Another tool in the Java toolbox is the Java Server Page (JSP). HTML pages
at a server are typically static in that the text is fixed until it is edited by hand. In
a JSP page, however, the hypertext contains specially tagged areas that signal to
the server or servlet where it can insert dynamically created data. For example,
the servlet could enter the latest price for a product in a catalog page.
Though servlets and JSP are powerful tools for large enterprise web servers,
our emphasis is in small, specialized servers for custom applications such as
monitoring remote devices. Such servers can usually suffice with the techniques
discussed in this and the following chapters. See the Web Course and the refer-
ences for more information about servlets and JSP.
14.9 Web Course materials
The Web Course Chapter 14 provides the code for the client/server demonstration
programs discussed here along with additional demos and resources. See also the
code listings for Chapter 24 where we created a version of MicroServer to
runonaJava hardware processor. That platform does not provide the String
split() method so we had to create a version of our own. Chapter 21 provides
more information about servlets and Web Course Chapter 21 provides an example
servlet.
References
[1] Trail: Custom Networking - The Java Tutorial , Sun Microsystems,
http://java.sun.com/docs/books/tutorial/networking/.
[2] E.R. Harold, Java Network Programming , 2nd edition, O'Reilly, 2000.
[3] P. Niemeyer and Jonathan Knudsen, Learning Java , 2nd edition, O'Reilly, 2002.
[4] Budi Kurniawan, How Java Web Servers Work , Aug. 23, O'Reilly's OnJava.com, 2003,
www.onjava.com/pub/a/onjava/2003/04/23/java - webserver.html.
[5] Security in Java 2 SDK 1.2 - The Java Tutorial , Sun Microsystems,
http://java.sun.com/docs/books/tutorial/security1.2/ .
[6] Permissions in the Java 2SDK Guide , Sun Microsystems, 2002,
http://java.sun.com/j2se/1.4.2/docs/guide/security/
permissions.html .
Search WWH ::




Custom Search