• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Android Smatphone and JMS connectivity

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

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.

Thanks in Advance !

Raven
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Perry Hoekstra
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Fire me boy! Cool, soothing, shameless self promotion:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic