As an alternative solution I can recommend you to try Softwired's
iBus//Mobile which has JMS based library client libraries specifically
designed for Android as well jme and .net cf. An evaluation copy of
Softwired's iBus Mobile is available for download from our DEV ZONE [See the
product .html for product features and technical specifications]
Even if you get the OpenJMS or another JMS implementation running on
Android, the results will not be satisfactory since most of them are
designed for the wired networks and can not handle the disconnected
operation & other problems of the wireless networks gracefully.
Kuhn Michael wrote:
> has somebody used OpenJMS on Android (the mobile platform)? I wonder
> this is possible without much effort. I've tried to write a JMS client but
> ended up with a ClassNotFoundException when trying to get the Context (see
> code below):
> D/dalvikvm( 1112): Exception Ljava/lang/ClassNotFoundException; from
> PathClassLoader.java:205 not caught locally
> D/dalvikvm( 1112): NOTE: loadClass '
> org.exolab.jms.jndi.InitialContextFactory' 0x40018950 threw an exception
> W/Exception( 1112): javax.naming.NoInitialContextException: Cannot
> instantiate class: org.exolab.jms.jndi.InitialContextFactory. Root
> exception is java.lang.ClassNotFoundException:
> Does anybody know, how to circumvent this ClassNotFoundException?
> I've included all the jar files listed on
> http://openjms.sourceforge.net/usersguide/jars.html in my project. Also,
> I've switched off all firewalls and it seems that I can reach the JMS
> on port 3035 (I've tried opening a socket to it, which works). Is there
> maybe a way to get the Context without using JNDI (and, could this
> Any help would be greatly appreciated!
> Code (xyz denote the address of the JMS server):
> Hashtable properties = new Hashtable();
> properties.put(Context.PROVIDER_URL, "tcp://xyz:3035/");
> Context context = new InitialContext(properties); // Causes
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> openjms-user mailing list
View this message in context: http://www.nabble.com/OpenJMS-on-Android-tp16049211p20357483.html
Sent from the OpenJMS - User mailing list archive at Nabble.com.