Chapter 11
Writing a Web Application

 

From my experience developing web applications since 1998 and large scale distributed internet applications since the 1980s, I have some strong opinions how to efficiently write and maintain web applications. I admit to specializing in the ”back end” services although I also write a lot of presentation code using JSPs, struts, custom Java tag libraires, and Ruby on Rails.

11.1 Getting started

We will largely ignore issues dealing with presentation: JSP, struts, Java Server Faces, etc. in this chapter and concentrate on the middle and backend implementations. I will touch on my recommended ”getting started” pattern for simple or medium scale web applications:

The rest of this chapter will largely ignore human-facing user interface issues.

11.2 A simple pattern: JSPs for presentation, JavaBeans for business logic, JDBC for data persistence

TBD

11.3 Improving the simple pattern: using Hibernate to abstract data persistence

TBD

11.4 Implementing web services

TBD: REST, XML-RPC, SOAP