3 Replies Latest reply on Feb 28, 2005 4:21 AM by stevenpeh

    JBOSS AND JMS FOR MOBILES

    raja_habibkhan

      Hi all,
      I'm new on this site and up until a week ago had never heard of JBOSS.

      I have been given the task of creating some sort of messaging service for my university as part of my final year dissertation in the uk.
      I am a little confused as to how I can create an application to send messages to mobiles using JMS. I will need to create the back end sender as well as the reciever on the Mobile phone. I have created the application using java before which runs on the pc but am unsure how to do this for phone applications especially as there would need to be some sort of recognition as to which devices the messags can be sent to?

      Does anybody have any advice for me? where can i start and how would you do this? Is JMS the best option? I personally thought it wasn't possible to integrate a JMS application into WAP until I came across the iBus//Mobile information? but am still unsure how this can be done or if it's possible.

      Thanks

      Habib Khan

        • 1. Re: JBOSS AND JMS FOR MOBILES

          JBossMQ has transport over HTTP, it shouldn't be any more difficult
          to do something similar for WAP.

          I don't know whether the JBossMQ client code will run on J2ME. I have never tried it.

          • 2. Re: JBOSS AND JMS FOR MOBILES
            stevenpeh

            Heh, i would not recommend it and highly doubt that the JBossMQ will run on midp phones (java enabled phones). It is very very limited in terms of functionality and most of the basic j2se packages are supported. However, you're in luck as it does support Http access. So you can do http post and get to URLs.

            What we did before was to proxy requests from midp apps via a servlet (handling http posts from the midp app) and then generate a JMS message from the servlet.

            Cheers.

            • 3. Re: JBOSS AND JMS FOR MOBILES
              stevenpeh

              umm... just to add, http from cell phones via midp would require the phone to support GPRS (assuming you're on a GSM network) and whatever subscription fee that entails.

              If you're using wap, then you can have a wml page submit to your servlet url , after your servlet dumps the request to the JMS queue, you can have it spewing wml tags via its output stream so the wap browser can display it.

              If youre gonna go SMS then the approach will very different. Your server end will have to either connect to the telco (each telco has their own protocol from where i'm at) or for simple low throughput apps you can purchase a serial port GSM modem and slot in your sim card, connect it to your server , then use Java Comm to read incoming SMS messages (GSM modems recognizes AT command sets) and process them as you wish.