Part II: Web Applications

The difference between Web Services and Web applications is primarily one of presentation. Most Web Services will not be built from scratch, but rather bolted on to existing applications as a way to extend the usefulness of the underlying application. Understanding Web-application design thus becomes a prerequisite for being able to design Web Services.

The key technology in this part of the book is servlets. Servlets are perhaps the most important Java server-side technology; the attention given to Enterprise JavaBeans has tended to obscure just how versatile and powerful servlet technology is. If you have no interest in presenting your application via Web pages in addition to as a Web Service, then you can safely ...

Get J2EE™ and JAX™: Developing Web Applications and Web Services 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.