Order of execution of Servlet and Listener class in java -


as part of application development, 2 things need take care:

  1. read configuration properties file load on startup using servlet
  2. load on application need start listener start thread pool using specified pool size , getting properties file

note: listener dependent on servlet , in order configured values.

here concern , if both start parallel , in case may chance of listener starts before servlet , hence configured value not available time.

how resolve .. ?


Comments

Popular posts from this blog

PHP while loop dynamic rowspan -

android - How to read a column value in parse.com without accessing an object or a pointer -

timer - Java TimerTask cancel -