Announcement Announcement Module
Collapse
No announcement yet.
Writing data from file in a clustered DAO..environment Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Writing data from file in a clustered DAO..environment

    Hi,

    This is not a specific spring problem..

    I have a DAO class that has to store data in a file to a database..

    But the problem is i am not able to have the updated data ...since the appln is in a clustered environment...and the data in files ..are inconsistent...

    across the nodes...This is failing my appln..

    Regards

  • #2
    Is the purpose of this file to act as some type of cache? If it is it seems like a very rudimentary cache, you need some type of distributed cache or some type distributed file updater so that you don't run into synchronization problems.

    Comment


    • #3
      Yes...the problem is with the synchronization...of the files..

      and in a way it kind of acts like a cache.....

      its a WAS 5.1 cluster nodes

      Comment


      • #4
        So why not replace the file with something like EhCache? http://ehcache.sourceforge.net/

        Comment


        • #5
          Will this work be an affective replacement to the file...usage....

          and can i do away wholly with the files....

          Comment

          Working...
          X