In context of WAS, what is the difference between application bounce and jvm bounce.
In case we only want to reload the data at server startup , whch one should we go for.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The same application can be restarted multiple times while a server is running. If you only want to load data once per server start, then I would recommend placing a class in a shared library associated with a server class loader. This will make it accessible to all applications, and the static variables will retain their contents until the server is restarted. Of course, this also means you cannot update these classes without restarting the server.