Tag Info

New answers tagged

1

There is a specific tool within Java EE for doing this. Java Management Extensions aka JMX (Oracle best practices) With, you would set up a 'managed bean' (aka MBean) which you can then either poll externally (useful for setting up notifications on performance, resources, problems) or used to poke data back into the application (go into maintain mode now). ...


1

Two-step switch One possibility is to use two-step switch. Imagine you need to perform a maintenance task during which users should not be able to access the database. Step 1 You start by changing a flag in a database. This flag is not a maintenance mode flag, but indicates that clients should not use the database any longer since it will soon be put ...



Top 50 recent answers are included