(1) Database modification.
(2) Database connection code.
(3) Struts-based approach.