aspose file tools*
The moose likes Threads and Synchronization and the fly likes Threading across clusters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Threading across clusters" Watch "Threading across clusters" New topic
Author

Threading across clusters

Amu mathi
Greenhorn

Joined: Jul 04, 2008
Posts: 26
Greetings,

Let me brief about my problem,

I have a application which picks files from a FTP-zone every 1 mins,

When this application is deployed in a clustered environment, I need to ensure that when one JVM is picking the file the other should keep quite.

I would like to know if there is any free-ware utilities or patterns available to solve this problem.

We do have a back-end ( Oracle DB) which shared between the two application servers. ( ie DB is one - where has we have two application servers.)
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

Similar discussion here


apigee, a better way to API!
 
jQuery in Action, 2nd edition
 
subject: Threading across clusters