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 06:24 AM
Not supported, sorry.
Look at the API, here it is for the latest release (7.1):
08-20-2012 08:59 AM
08-20-2012 09:52 AM
Hey how about JMS:
http://java.sun.com/developer/technicalArticles/Ec
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-20-2012 11:56 AM
08-20-2012 04:02 PM
One you create yourself. There is nothing built-in that you can use.
08-21-2012 01:50 AM
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.