About ServletContextEvent

1-2 of 2Refresh
Tutorial
115

Step 3: Add a Context Listener Class

(ServletContextEvent e) { com.objectdb.Enhancer.enhance("guest.*"); EntityManagerFactory emf ... void contextDestroyed(ServletContextEvent e) { EntityManagerFactory emf
Tutorial
115

Step 3: Add a Context Listener Class

: public void contextInitialized(ServletContextEvent e) { com.objectdb.Enhancer.enhance ... ); } // Release the EntityManagerFactory: public void contextDestroyed(ServletContextEvent e