Multiprocessing, shared object

Is there some system core object thet all java processes can share? For example if one process do some method it switch some value of this object to false, or 0 and other processes doesn't perform any action while first process switch value to true.
[257 byte] By [Tarasa] at [2007-11-27 2:28:34]
# 1
The simple answer is NO.Each JVM may multi-thread, but there is no multi-processing between JVM's.
cooper6a at 2007-7-12 2:40:51 > top of Java-index,Core,Core APIs...
# 2

Although true that there is no JVM-contained object that other JVMs can access, there are system objects you can use, e.g. FileDescriptor, InputStream, ServerSocket, for this purpose. The trick is that each process has to be aware of the same handle (this can be accomplished by having each VM load the same property or env setting). Then, roll-your-own check for file existence, stream canWrite(), or socket bind as needed. But, you might consider instead of multi-process, multi-thread.

developer_jbsa at 2007-7-12 2:40:51 > top of Java-index,Core,Core APIs...