The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
You can't wake a person who is <b><i>pretending</i></b> to be asleep.<br />Like what <b>"it"</b> does not like - <i> Gurdjieff </i>
Originally posted by tommeltom:
Hello Rajah,
ok. But how do i distribute or orchester this multiple threads on multiple machines?
Is there a suitable framework (spring etc.) or lib to do this easy and stable?
Regards
Tom
You can't wake a person who is <b><i>pretending</i></b> to be asleep.<br />Like what <b>"it"</b> does not like - <i> Gurdjieff </i>
apigee, a better way to API!
tommeltom: A lot of XML-Files delivered via a directory should be transformed into a specific ASCII-File.
apigee, a better way to API!
Tom:
So there is a possibility of deadlocks, two or more threads are taking the same xml-file.
How could i avoid such a deadlock?
apigee, a better way to API!
Originally posted by Nitesh Kant:
To solve this you can use FileLock to ensure that only one process(JVM) gets hold of the file.
Whether or not a lock actually prevents another program from accessing the content of the locked region is system-dependent and therefore unspecified.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
apigee, a better way to API!
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Can you hear that? That's my theme music. I don't know where it comes from. Check under this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|