Hi,
As far as I know:
Because of limited resources of mobile devices, 2 MIDlets can抰 run simultaneous on a MIDP-device. (but a MIDlet can be multi-threaded!).
A MIDP-device hosts a single instance of KVM!
I read somewhere, that an implementation may support 2 KVMs. I think only on such device it抯 possible to run 2 MIDlets (belonging to the same MIDlet suite or 2 distinct ones) simultaneous!
The MIDlets of a suite can share directly record store(s) of their MIDlet suite. But if you want to share a record store between MIDlets, packaged in different suites, then the owing MIDlet has to declare the record store explicitly as 搒hared?(at creation time).
In such cases:
If a record store is accessed by several threads (created by a MIDlet), then operations on the record store must be synchronized in order to keep the data accuracy.
However it抯 better to minimize the synchronized code-block as far as possible (for higher application performance).
bye,
Asghar