Sending SMS via Java web applications - java

Have you seen how some companies send SMS in order to send access code etc? I am also in need of something like that. I have Java web application developed using JSP and Servlet. Through this application, I need to send SMS messages to some selected people.
I am open for free or paid APIs. But that API should support web based apps and should have the capability to send messages to Sri Lanka.
I went through lot of stuff like SMS Lib etc, but they are not built for web applications.
Any ideas?

You should see Simplewire Java SMS Software Development Kit
Sending and receiving SMS From Java using the Ozeki Java SMS SDK

You can have a look at OpenMarket Sms API. Its good and quite economical also.

Related

Web server/db online to communicate with android?

I'm new in android and i want to know if there is some server / web service online that o can use to update and communicate with my app?
example: I have the app "message" in 5 phones so I want to communicate with all of them, if the phone 1 send a message all device must receive notification.
There is something that I can use maybe free?
You have many options to accomplish this goal, and most provide some free level of support.
In general if you want to "push" notifications to android devices, you can either directly use or use some provider that uses Google Cloud Messaging.
Using this approach directly means you need some web server to send request to, which will then forward a request to Google, which will then forward your "message" to the devices you want to reach. There are many options for free hosting of (smallish) web services. IBM's BlueMix and Heroku come to mind. So if your are comfortable writing web apps, this might be a good choice. I have used both (for Ruby on Rails backends to mobile apps) and found both very good, but am currently using Bluemix.
I believe Bluemix along with Parse also offer mobile data storage and easy access to Push notifications to both Android and iOS. I am currently using Bluemix via Ruby on Rails and pushing messages directly to devices via GCM and don't have much experience with those particular offerings.

How to send SMS using modem or gateway from java Web application?

I am new in java web application and I want to send SMS from my Java web application to mobile. How can i do this using mobile/modem or any other way? any easy java API?
i really appreciate ur help.
here is an api :
http://code.google.com/p/serial-comm/
i love this api over other is the reason that you dont have to worry about the native libraries and there path as this api automatically installs the desired native libraries to your system..
there are also other api/s like :
http://code.google.com/p/smslib/
i have recently developed an application using serial-comm which reads SMS from mobile/modem.
the other way around is to buy a sms gateway service like i use mvaayoo in that case you dont have to develop an application just use the api provided by the gateway vendor and that is just a http link to send SMS

how to send SMS to mobiles using JAVA

I want to send SMS to mobiles.Can any one help me how to send SMS to mobiles using JAVA. Is there any Free API?
Any ideas?
i have done this before by installing and using kannel. It can then be used with a java-client or a library like kannel java api.
This is not going to be a simple task, though. There probably are easier alternatives.
You need access to sms gateway.Providers use different protocols SOAP, rest.
There is no free working sms gateways as far is know.
Your question is very vague..
You can send SMS using SMS Gateway where they would provide you with the REST API calls to send SMS's to the numbers..

SMS Hosting with Java api

Is there any sms hosting that allows me to use his service with Java api to send sms? I use it in my android app and I have access to internet.
Thanks!
Usually, people sending sms provide a SOAP/REST API to do the job, so you can use whatever language you want.
you could probably use the library from smsj[1] where the class ClickatellTransport could allow you to send the sms to clickatel[2].
http://smsj.sourceforge.net/
http://smsj.sourceforge.net/apidocs/org/marre/sms/transport/clickatell/ClickatellTransport.html

Send mail from my web application

I have a feature in my web app like I have to send mails from the server to many email ids (some kind of notification stuff)
my web application is implemented in struts2. Possibly I have to use javamail api i guess. I am completely new to this javamail and sending mail from server. what basic steps I need to do to setup a mail server in windows, contact the server from my java web app. What api i should I use ?
The web has very limited tutorials on javamail and they are damn complicated too.
Is there any other api other than javamail by which I can send mail from my java struts2 web app.
thanks
I suggest you use Mercury for your mail server. The javamail API is pretty straightforward. Just create a utility class to simplify the javamail API further.
for this use smtp in your jsp page...
for more refrence go to www.java2s.com

Categories

Resources