Master Worker Pattern in JMS
1. One part of the system receives the file in chunks and keeps it in the DB.
2. The next step logically splits this file into N partitions and sends the metadata of the partitions as JMS Messages.
3. And then the JMS clients process their part of the file, and when they are finished they update the status of the task on another table in the DB.
There were a couple answers to this question. One user suggested the Blackboard Pattern. Javalobby has an article about JGroups that tells how to implement a similar model. One user suggested that.
What would you use?