Multithreading file writing
I'm looking for a simple java example of a multithread server that creates a number of threads that open and write the same file in a synchronized way.
Can someone link an example or write a sample code? Google didnt help me
Thanks in advance