| | |
java program to send sms to tomcat server
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
Who says a tomcat server would accept an SMS?
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
•
•
Join Date: Nov 2008
Posts: 28
Reputation:
Solved Threads: 0
hi this is my requirement..
i have developed an application for bank accounts. Its a web application and my server is Tomcat 5.0. my requirement is that user
could sms (from their mobile) to my application. In the SMS they will provide their account no and in response my application will send a sms
to their cell phone giving them their current balance.
iam using nowsms as a gateway and i cinnected my mobile as modem..
plz help me in this..
i have developed an application for bank accounts. Its a web application and my server is Tomcat 5.0. my requirement is that user
could sms (from their mobile) to my application. In the SMS they will provide their account no and in response my application will send a sms
to their cell phone giving them their current balance.
iam using nowsms as a gateway and i cinnected my mobile as modem..
plz help me in this..
•
•
Join Date: Nov 2008
Posts: 28
Reputation:
Solved Threads: 0
hi this is my requirement..
i have developed an application for bank accounts. Its a web application and my server is Tomcat 5.0. my requirement is that user
could sms (from their mobile) to my application. In the SMS they will provide their account no and in response my application will send a sms
to their cell phone giving them their current balance.
iam using nowsms as a gateway and i cinnected my mobile as modem..
plz help me in this..
i have developed an application for bank accounts. Its a web application and my server is Tomcat 5.0. my requirement is that user
could sms (from their mobile) to my application. In the SMS they will provide their account no and in response my application will send a sms
to their cell phone giving them their current balance.
iam using nowsms as a gateway and i cinnected my mobile as modem..
plz help me in this..
•
•
Join Date: Nov 2008
Posts: 28
Reputation:
Solved Threads: 0
hi this is my requirement..
i have developed an application for bank accounts. Its a web application and my server is Tomcat 5.0. my requirement is that user
could sms (from their mobile) to my application. In the SMS they will provide their account no and in response my application will send a sms
to their cell phone giving them their current balance.
iam using nowsms as a gateway and i cinnected my mobile as modem..
plz help me in this..
Well, hopefully you have a handy attached to the Server running the Tomcat.
IOW, AFAIK, you need some sort of Gateway to send/receive sms messages from the computer. There are some sites out there that let you do so (and you may be able to use them as a proxy, but if they find out you are using it for a commercial app, it would be probably get very expensive, very quickly), but to do it on your own, you are going to need a modem, not just a connection to the internet. And the use of this modem has nothing to do with Tomcat.
Check out this for more info (although not Java related it has some good general info) http://www.developershome.com/sms/
Edit: Nevermind, I see you are using a gateway. But, if that is an internet SMS gateway, what do you need your mobile for? You should be able to use it using HttpUrlConnection, right?
IOW, AFAIK, you need some sort of Gateway to send/receive sms messages from the computer. There are some sites out there that let you do so (and you may be able to use them as a proxy, but if they find out you are using it for a commercial app, it would be probably get very expensive, very quickly), but to do it on your own, you are going to need a modem, not just a connection to the internet. And the use of this modem has nothing to do with Tomcat.
Check out this for more info (although not Java related it has some good general info) http://www.developershome.com/sms/
Edit: Nevermind, I see you are using a gateway. But, if that is an internet SMS gateway, what do you need your mobile for? You should be able to use it using HttpUrlConnection, right?
Last edited by masijade; Nov 27th, 2008 at 8:46 am.
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
•
•
Join Date: Nov 2008
Posts: 28
Reputation:
Solved Threads: 0
Iam using now sms gate way and i connected my phone as a modem... now i want send msgs through that nowsms gateway... i hope u understand this... from mobile one request will come to tomcat server and it has to reply through nowsms gateway how can i do this... plz help me if possible..
Basha
Basha
•
•
•
•
Well, hopefully you have a handy attached to the Server running the Tomcat.
IOW, AFAIK, you need some sort of Gateway to send/receive sms messages from the computer. There are some sites out there that let you do so (and you may be able to use them as a proxy, but if they find out you are using it for a commercial app, it would be probably get very expensive, very quickly), but to do it on your own, you are going to need a modem, not just a connection to the internet. And the use of this modem has nothing to do with Tomcat.
Check out this for more info (although not Java related it has some good general info) http://www.developershome.com/sms/
Read the article I gave you.
And if you are receving through the handy, why don't you also send through the handy?
Conversly, if you are sending through nowsms, why are you not receiving through nowsms?
If they don't provide a reception service, then find a different gateway.
Edit: Of course, I hope you have some very, very, very good authentication system for this, as I am sure the customers would not want their balances to be broadcast to anyone with an sms service.
And if you are receving through the handy, why don't you also send through the handy?
Conversly, if you are sending through nowsms, why are you not receiving through nowsms?
If they don't provide a reception service, then find a different gateway.
Edit: Of course, I hope you have some very, very, very good authentication system for this, as I am sure the customers would not want their balances to be broadcast to anyone with an sms service.
Last edited by masijade; Nov 27th, 2008 at 9:18 am.
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
![]() |
Other Threads in the Java Forum
- Previous Thread: how to loop my arrays
- Next Thread: Skip space characters
| Thread Tools | Search this Thread |
android api applet application apps array arrays automation awt bidirectional binary birt bluetooth busy_handler(null) chat class classes client code columns component constructor database designadrawingapplicationusingjavajslider draw eclipse editor error errors event eventlistener exception expand fractal game givemetehcodez graphics gui guidancer html ide image inetaddress input integer intellij j2me java javamicroeditionuseofmotionsensor javaprojects jme jni jpanel jtree julia link linux list loop map method methods mobile mobiledevelopmentcreatejar myaggfun netbeans newbie oracle parsing plazmic print problem program programming project recursion scanner screen server set sharepoint size smart sms smsspam sort sortedmaps sql string subclass support swing textfield threads time tree unlimited utility webservices windows






