Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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!
Don't get me started about those stupid light bulbs.
subject: Threading across clusters
jQuery in Action, 3rd edition