1.4. Part 3 - The EventManager web application

1.4. Part 3 - The EventManager web application

A Hibernate web application uses Session and Transaction almost like a standalone application. However, some common patterns are useful. We now write an EventManagerServlet. This servlet can list all events stored in the database, and it provides an HTML form to enter new events.