Summary

This chapter provided an introduction to the J2EE servlet technology. Java servlets represent a robust, useful facility for creating Web components. In this chapter we demonstrated how to program and configure a servlet using an example that performed the transformation of an XML document into an HTML page.

We will come back to Java servlets again in Chapters 33 and 34. For now, we will look at the other Java Web component: the JSP and we will see how this scripting language can be used to create presentation tier components for a J2EE application.

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software 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.