We help IT Professionals succeed at work.

JMS or SMS?

cosmic_bird
cosmic_bird asked
on
878 Views
Last Modified: 2008-02-01
Hi, I want to include a messaging facility in my application. This will be used simply for incoming alerts from a system. So the system in this case  a traffic alert system will use servlets to send traffic alerts in the form of messages. At the client end the user will receive the alert in message format, i.e, they select the message to read it.

In the above situation what form of messaging would you suggest SMS or JMS?
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2016

Commented:
What medium are the clients in? Obviously a browser can't get an SMS message...

Author

Commented:
The client's on a midlet. It's a bit of a head scratcher to be honest with you.

Author

Commented:
Actually to be be more precise, I can send the content of the desired message to the midlet. What's invovled in wrapping the text into a message format?
CERTIFIED EXPERT
Top Expert 2016

Commented:
Well to be honest - midlets are not my thing. I'm sure somebody'll be along sooner or later though ;-)
What messaging formats does the midlet support, if any?

Author

Commented:
"What messaging formats does the midlet support, if any? "

it has a wireless messaging api available for sms.
CERTIFIED EXPERT
Top Expert 2016

Commented:
Sounds applicable then ;-) Do you know of any JMS implementations for J2ME?

Author

Commented:
yeah I don't think I should too much trouble implementing this section-  hopefully. To be honest I've never really heard of JMS, Since it does have the WMA API - then probably sms isd the way too go.

Do bear in mind that the client won't actually be sending any sms messages, just receiving them. So it's probably a matter of invoking the servlet to respond to the midlet request with SMSs, or ideally the servlet automatically send SMSs to the midlet without the midlet invoking the servlet. This requires though the devices number.
CERTIFIED EXPERT
Top Expert 2016
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT
Top Expert 2016

Commented:
This article's a good fit for what you want to do:

http://www-106.ibm.com/developerworks/wireless/library/wi-extendj2me/

Commented:
What are your target handsets?  SMS is only available in handsets that have WMA implementations (basically, you're only looking at the few MIDP-2.0 handsets that are available at the moment).

If you want something that's going to work on MIDP-1.0 (ie. the vast majority of currently available Java-enabled handsets), then the only supported protocol is http.  This shouldn't be too much of a problem, since you should be getting the server to do the bulk of the work.

What information are you intending to pass around?

Commented:
i have recently finished a smsServer app where by sms'es are sent via a gsm modem, i presume you are using one?

if you are.. check out the api i used at www.jsmsengine.org
tell me if you are on a FreeBSD box cause it gets a bit tricky then.

Author

Commented:
Fuzzy_VB - thanks for your reply.....  I'm not really up to date on the networking side of things like gsm modem. My system is perhaps a more simpler concept. It's really just about arranging data extracted from a database by the servlet into a convenient message format for the client to receive on the mobile applcation. However I will investigate the jsmengine

Commented:
how do you suggest you will send that message to the mobile?
if you are not using a gsm modem then another option is to send it to a bulksmsing website via parameters?

or am i missing something?

-Fuzz ;)
CERTIFIED EXPERT
Top Expert 2016

Commented:
8-)

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.