• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Himai Minh

SMS from Java

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,

Posts: 27367
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
My previous laptop never exploded like that. Read this tiny ad while I sweep up the shards.
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic