I am new to the android development and ideally want to establish a connection/connectivity between an Android Smartphone and Java Message Service and Event Bus. I have already done the JMS and Event bus connectivity , Now further wants to connect to some Android based Smartphone.
Is this possible to do it vice-versa also ?
Any suggestions on how to implement this would be appreciated. Please advise any available tools/applications also.
The problem you will run into trying to get a JMS client on an Android is that while Android has most of the base J2SE stack, it does not have any of the javax.* classes. All of the JMS clients use packages such as javax.naming or javax.transaction. You would be in for a bit of work getting something up and running.
Now, as an alternative, if you are not wedded to a particular JMS implementation, JBoss/HornetQ has a REST API for JMS that would be callable from a Android phone.
For things like Android, I would consider lightweight transport mechanisms like using STOMP as transport over ActiveMQ. You don't have to have all the JMS classes on your mobile device, but can easily interact with a broker with this text based protocol.