Example thin client - home banking
This example shows how HTML forms and servlets can provide a thin client architecture
A simple form
- gets the password and PIN from an account holder
- posts the data to a servlet
The first servlet (‘ProcessRequestServlet’)
- attempts to retrieve an account from the host
- calls other servlets to respond with the balance (if the account is retrieved) or an error page (if it is not)
The other servlets
- dynamically render HTML on the client