Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connecting to the world

 
Ed Dablin
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the easiest / simplest way to connect my java program to the world?
Simply put, my program takes a little user input, and returns the answer.
I would now like to make my program available to others.
In order of preference:
1. User sends SMS text and gets back an SMS text (not everyone owns a computer or smart phone)
2. User send email and gets back an email
3. User interacts via web browser. Does this necessitate converting my program to a servlet?


 
Phil English
Ranch Hand
Posts: 62
MySQL Database Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For SMS you could look at an SMS gateway. Which provider will depend on your country.

That gateway might also handle emails. Otherwise you could look at JavaMail.
 
Ed Dablin
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK I've managed to get JavaMail to work with Gmail. I can send and receive emails.
I've failed to get Hotmail to work.
Thanks for the comment about SMS Gateways. I have one in mind, but would be pleased to hear from anyone who has succeeded
in sending and receiving SMS text messages from their Java programs.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic