lock/unlock a site
At 20 pm , each day a data replication on a SQL server 2000 is started. My J2ee application use this SQL server and I would like to synchronise with the replication.
Just before to launch the data replication, I start a filter servlet to lock the site (acces denied for the maintenance) and when the replication is finish, I unlock the site.
Q : how to call the servlet from SQL server or how J2ee application call the SQL server ? For example in using a flag into the database ?