java - execute code when tomcat server turns on -


i wonder if me this:

at first sorry if asking easy, amateur in this.

i have tomcat server in computer , have several services (programmed in java language eclipse) in it. know if possible stablish code should execute in each service when tomcat server turns on or reset. if possible, how that?

a servletcontextlistener meant type of thing. implementation of contextinitialized() called when server starts "context" (meaning webapp).


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -