Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: File Locking


Message #1 by "Dima" <difrad76@y...> on Thu, 6 Dec 2001 01:43:11
What kind of way you want to control. Are you getting access from one 
application in Java.  If this is the case, there is a design pattern 
"Singleton" which can insure that only one instance of a class is to 
instantiated.

Bin Zhou




>From: "Dima" <difrad76@y...>
>Reply-To: "Pro_JavaServer_Pages" <pro_jsp@p...>
>To: "Pro_JavaServer_Pages" <pro_jsp@p...>
>Subject: [pro_jsp] File Locking
>Date: Thu, 6 Dec 2001 01:43:11
>
>I need to be able to lock the file while it is being written. Basically
>what I am trying to do is allow users to access the file not all at the
>same time but one after another.
>
>Your help is really appreciated
>---
>Do you need true END-TO-END (e2e) Java Messaging (JMS)?  Softwired
>offers industry's ONLY complete 100% JMS messaging solutions for your
>needs TODAY.
>Visit 
>http://adtracking.wrox.com/track.asp?x=p2p%2Fe%2Fjava%2Dsoftwired&url=www.softwired-inc.com 
>NOW and find
>out more!
>Our unique product range includes: iBus//Mobile (wireless data),
>iBus//MessageBus (IP Multicast), iBus//MessageServer (store and forward)
>and much more!
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


  Return to Index