lundi 15 juin 2015

Heavy initialization of resources

Different getInstance() methods from an Java EE application take a long time to be executed. I try to put its in a contextInitialized(ServletContextEvent arg0) method and later this class to provide access to objects created by some static methods. Is a good practice or is bad? What alternatives exist for that?

Aucun commentaire:

Enregistrer un commentaire