I am a newbie to java technology and have a little idea about design patterns. I have to write a java application that contains 3 independent threads:
- the first thread is used to write on a file "A"
- the second one is used to write on a file "B"
- and when the writing on file done an another independent thread "C" merge these two file.
I have to write the application as efficient as possible. I am thinking about using design pattern. Is there any design pattern that fits the scenario best?