Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
|
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 27th, 2005, 07:05 AM
Authorized User
 
Join Date: Jan 2005
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default lock/unlock a site

Hi;

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 ?

regards;





Similar Threads
Thread Thread Starter Forum Replies Last Post
can't unlock database Mikeyhend Excel VBA 0 December 4th, 2006 06:03 PM
lock/unlock row in GridView jung1975 ASP.NET 2.0 Basics 0 January 4th, 2006 06:42 PM
How to unlock a table? Edward King Oracle 1 March 16th, 2005 01:52 AM
Unlock Access Database socoolbrewster Access 1 September 28th, 2004 02:44 AM
How to unlock record in SQL Server database DDB001 SQL Server 2000 2 August 2nd, 2004 09:46 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.