Solved

SMS

Posted on 2004-09-14
4
391 Views
Last Modified: 2010-03-31
Hi guys,

Currently I am creating the Intranet application using JSP and Struts framework. Now, after some statement, I want to be able to send SMS to user. Can anyone guide me please? If there is an SMS server, it would be nice. As I reside in Jakarta, it would be perfect if you know some of the SMS server in Jakarta, however, is okay.

Thanks.
0
Comment
Question by:suprapto45
  • 2
  • 2
4 Comments
 
LVL 35

Accepted Solution

by:
TimYates earned 500 total points
ID: 12055106
From: http://www.experts-exchange.com/Programming/Wireless_Programming/WAP/Q_20513823.html

----------------
Before you start anything you must remember that SMS messages are NOT like E-Mail - they are not free. So you'll need something or someone to send them for you.

Now you can use a mobile phone with a data cable (but not all phones can be driven). Or a GSM modem (effectively the same but for professional use). Or an SMS Service Center - you make a contract with them to send messages for a price (ideally for bulk users like sites which offer ring-tones and logos).

There are web sites which offer free SMS messaging but they are financed by advertising and limit you to a small number which you may send every day, and effectively hacking into these is at the least immoral.

Now a mobile phone OR a GSM modem can be driven via modem like commands (AT commands) and a good place to start is with an Open Source libary (and a couple of tools) at http://www.pxh.de/fs/gsmlib/.

So with a Web server like Apache and a phone driven by this library and CGI you *could* make a start.

But, phone calling is not always fast, so your CGI could time out. Normally one must use a Message Server which accepts requests from the Web Server (via CGI for example or via a TomCat like interface) which it queues. Later it starts a batch job to make the call. In fact if you would like to make a project out of it, an Open Source JMS message library, TomCat, Apache and a Java SMS library would be evry interesting.

Anyway, I hope that's a start.
0
 
LVL 35

Expert Comment

by:TimYates
ID: 12055115
0
 
LVL 16

Author Comment

by:suprapto45
ID: 12056713
Okay thank you.

Do you have the reference to JSP code that do that?
0
 
LVL 16

Author Comment

by:suprapto45
ID: 12056720
Opp.ssss. sorry, your URL gave that. Let me think that out first
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
servlet doXXX methods 3 61
How  Can  I  resolve   this  Error "java.sql.SQLException: Invalid column index" 4 49
arguments to jar 5 33
jsp login check 12 42
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question