File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Threading across clusters

Amu mathi

Joined: Jul 04, 2008
Posts: 26

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

Joined: Feb 25, 2007
Posts: 1638

Similar discussion here

apigee, a better way to API!
I agree. Here's the link:
subject: Threading across clusters
It's not a secret anymore!