cosmic_bird
asked on
JMS or SMS?
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?
In the above situation what form of messaging would you suggest SMS or JMS?
What medium are the clients in? Obviously a browser can't get an SMS message...
ASKER
The client's on a midlet. It's a bit of a head scratcher to be honest with you.
ASKER
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?
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?
ASKER
"What messaging formats does the midlet support, if any? "
it has a wireless messaging api available for sms.
it has a wireless messaging api available for sms.
Sounds applicable then ;-) Do you know of any JMS implementations for J2ME?
ASKER
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This article's a good fit for what you want to do:
http://www-106.ibm.com/developerworks/wireless/library/wi-extendj2me/
http://www-106.ibm.com/developerworks/wireless/library/wi-extendj2me/
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?
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?
This may be of interest: http://www.microjava.com/articles/techtalk/jms
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.
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.
ASKER
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
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 ;)
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 ;)
8-)