Chapter 21. Using Applets As Front Ends to Server-Side Programs

Topics in This Chapter

  • Sending GET data and having the browser display the results

  • Sending GET data and processing the results within the applet (HTTP tunneling)

  • Using object serialization to exchange high-level data structures between applets and servlets

  • Sending POST data and processing the results within the applet (HTTP tunneling)

  • Bypassing the HTTP server altogether

HTML forms, discussed in Chapter 18, provide a simple but limited way of collecting user input and transmitting it to a servlet or CGI program. Occasionally, however, a more sophisticated user interface is required. Applets give you more control over the size, color, and font of the GUI controls; provide more built-in ...

Get Core Web Programming, Second Edition 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.