Solved

SMS

Posted on 2004-09-14
4
390 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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java Loop 6 61
nextBoolean(double p) for Random class 3 40
How to determine if a string is a valid SHA value 7 33
Which non-HTML GUI front end to use with Java? 3 22
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

773 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