08-20-2012 06:11 AM
When I import java.rmi.server on a BlackBerry project it says "the import java.rmi.server cannot be resolved" (whereas in a normal Java project it works). Is java.rmi.server not supported on BlackBerry?
Solved! Go to Solution.
08-20-2012 09:52 AM
Hey how about JMS:
It seems available as a separate download. Would it work on BB?
Really I just need a way to communicate between two processes, and would like to avoid pipes and sockets. Any other suggestions?
08-20-2012 11:34 AM
Inter Process Communication is usually done using Global Events if the processes are completely different applications, or just a shared Queue if within an application. Do a quick search on "Global Events" and "IPC" on the forum to find out more.
08-21-2012 04:52 AM
Sorry, none of the above....
I would use RuntimeStore to create a simple collection Object that you treat as a queue - a Vector for example.
Here is how to create a Singleton in RuntimeStore that you use for this purpose:
I suspect there are various samples of Patterns that you can use to use this Collection to bump the Listening process as you wish - I'm not great on these sorts of things so I would not listen to my advice on how to do it.
And do a search for IPC on the forum. Similar questions to this have been asked before and you will find the answers enlightening I think.