The three-tier architecture:
(1) User submits data via a web-browser using a JSP-based submission form.
(2) The submitted data is validated and encoded into the XML writeback document. Alternatively list of the features or history of modifications can be requested.
(3) The server receives the request and calls the servlet, specified in the POST method of JSP page. The servlet runs, unpacks (parses) the XML writeback document, and
(4) passes the data to the MySQL database.
(5) There the submitted data is saved, or the requested data is retrieved from the data storage.
(6) The result of the operation (or the retrieved data set) is returned to the servlet.
(7) It generates a new JSP page containing response, and handles it back to the web-browser.
(8) The web-page is then displayed, and the user can see the result of the operation.