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
Post a Comment