tags:

views:

80

answers:

4

Is it possible to send SMS from a Java application. I don't want to use J2ME in this case. I want to know with respect to J2SE and J2EE only. Is there any API available to achieve this? If it is available whether we have to use any service provider or not for this? Can you tell me how to achieve that?

A: 

It is possible, but this isn't java-specific. Mobile providers (and resellers) offer APIs for sending SMS. These may include

  • web-services
  • HTTP get/post requests
  • sockets

You can do all of these with Java.

Bozho
A: 

You could look into my cool sms, they have an API for sending SMS, works with Java.

Lars Andren
+1  A: 

Certainly. We're currently sending SMS messages via Ericsson IPX. We simply POST to a specific URL to send the message (and they post an XML document to our URL when we receive SMSes). This is easy to do in most languages.

There are also quite a few lower-end providers that allow free or low-cost SMSes as long as the volume is low enough.

ndp
A: 

www.openmarket.com has a Java SDK

Phill Pafford