I have a Websphere Cluster Setup v7. Server A1 Load Balancer, A2 (deployment Manager), B(WAS) , C(WAS). In server B and C ejb,web and a spring application is deployed. Spring application listens to a folder and when a file comes to that folder it processes it and then calls the web application via web services. So when spring application is deployed in B and C. Files are processed twice resulting in duplicate records how to tackle the above problem. Should i write a java logic or any setting in websphere will do things right ?? If i have to write a java logic pls give some suggestion (reliable and easily to implement NOTE: Cluster node can increase after some times).
Thanks