• Post Reply Bookmark Topic Watch Topic
  • New Topic

SMS from Java  RSS feed

 
Adri Susanto
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im new in Java. I have a task in my job to create a Java application that will forward messages to a gateway that will send it out as SMS messages (to the phone number of other employees of my firm). I think that HTTP is the simplest method to send data from one application to another. As I know Java has native method calls to submit HTTP requests. I will post the messages through HTTP GET or HTTP POST method to the gateway. I also found a gateway that will probaly suit my needs (if you are interested you can google: SMS Gateway - Java SMS API, Java database sms example) but I am not sure this is the best way. Do you think HTTP GET an POST is the proper way? Do you have any recommendations to my project?

Thanks and regards,

Susanto
 
Paul Clapham
Sheriff
Posts: 22828
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch, Adri Susanto!

I think you have followed the correct process, but just to make sure, here's what you should do:

(1) Find a supplier who will allow you to send SMS through their system.

(2) Find out what methods they support to send those SMS.

(3) Implement your application using one of those methods.

Now it looks like you did (1), but you didn't say that you did (2). So if the supplier doesn't support HTTP, but it supports some other method of communication, then choosing HTTP would be the wrong thing to do.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!