|SMS/MMS send and receive J2EE||Search|
|SMS & MMS Technical Forum » MMS & SMS Technical Discussions (unsupported) » Archive through June 02, 2011 » SMS/MMS send and receive J2EE||« Previous || Next »|
Post Number: 1
I am a young student, I am spirit to make an application on the J2EE
I have come to send and receive SMS and MMS messages between two clients.
but my problem is to simulate the servers and SMS and MMS purpose of sending an SMS in the first place for the client to alert information and secondly to send a MMS which contains all the information.
So in short my problem is what type of server should I install to manage SMS and MMS for sending directly to the woman he every new customer information.
|Des - NowSMS Support
Post Number: 2661
Unfortunately, I do not have any good suggestions with regard to operating on simulators. The problem is on the client/receiving end (J2ME). The simulators just don't have a full SMS/MMS protocol stack for being able to receive messages ... at least to the best of my knowledge.
You need to load your J2ME code on an actual phone to be able to send/receive messages.
If you wanted to have a J2EE application sending SMS and/or MMS messages to a device, then it needs to have a connection to an SMS gateway or GSM modem.
You can connect NowSMS or NowSMS Lite to a GSM modem, and interface to it through Java. (As a student, you could try the 60-day trial version of NowSMS for doing this.)
Java API information for sending SMS and/or MMS can be found here:
Note that if you want to send a message to a J2ME application on a phone, you need to use port-addressing (or application-addressing for MMS), so that the message is addressed to an application instead of the standard inbox. More information on that can be found here:
I don't have any examples of receiving a message on the J2EE side. When NowSMS receives a message from a GSM modem, we refer to this as 2-way SMS. NowSMS can either pass the received message to a command line program for parsing or to an HTTP URL (Java HttpServletRequest). More detail can be found on the API page ... just no Java specific examples, I'm afraid.