Mobile messaging from J2EE

Hi All,
I need to send an sms from my java application(J2EE--WebApplication).I am not aware how can we interface with mobile devices to send the sms.I know rather that interfacing with amobile device we need to interface with the service providers.The question is how to interface?Do we have any standard java API's like java MAIL to interface for doing sms.Is there any third party tool.What actions are being taken by Sun to address this problem.
Your timely response will be appreciated.
Thanks & regards
Manish

Hi All,
I need to send an sms from my java application(J2EE--WebApplication).I am not aware how can we interface with mobile devices to send the sms.I know rather that interfacing with amobile device we need to interface with the service providers.The question is how to interface?Do we have any standard java API's like java MAIL to interface for doing sms.Is there any third party tool.What actions are being taken by Sun to address this problem.
Your timely response will be appreciated.
Thanks & regards
Manish

Similar Messages

  • Blocking mobile messages from certain mobiles.

    Can anyone tell me how to block mobile messages from a certain mobile source?
    Regards,
    Charlie Blank
    [removed personal information]
    Message Edited by dany_s on 11-12-2008 08:08 PM
    Solved!
    Go to Solution.

    Hi and welcome to the forums!
    You can block in one of two ways:
    1) You call block select types of text traffic. Go to OPTIONS/SECURITY/FIREWALL.
    You can select the type of message traffic to block. This will however block all incoming messages for that
    category. Example if you block SMS traffic, SMS messages from everybody will be blocked
    2) You can call the carrier and have the number blocked as spam. Depending on the amount of messages,
    you may be able to get the carrier to remove the texts from your bill.
    2a) If you use AT&T as a carrier you can block and control messages from the link below. I do not know
    if other carriers offer this service.
    http://mymessages.wireless.att.com/do/mail/settings/sendersControl
    Thanks,
    Please remember to resolve your thread. Put the check mark in the green box that contained your answer! Thanks  
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • How can I send a message from database to a J2EE application?

    How can I send a message from database to a J2EE application?
    If I have a codetable in database that has new or modified values I have to refresh the codetable in my J2EE application.
    Most effective way would be send a message to initiate a table reload from J2EE app, but I don't know how to do this.
    Now I have a background thread that regular reads the table and looks for changes.

    http://www.oracle.com/technology/products/integration/bam/10.1.3/TechNotes/TechNote_BAM_AQ_Configuration.pdf
    This document details how to create triggers on a table that send out JMS messages.
    In this example, the messages are going to Oracle BAM.. your message could go to your J2EE application listening to its own topic/queue.
    an alternative idea.
    you could also just cache your lookup table with something like Oracle Coherence and than try to ensure that all changes to the lookup go through Coherence, so that you won't need to do notification from the db up to the application. the application and the lookup data management tool would be using the data grid for management of the lookup table data, and the data grid (coherence) would persist the lookup data changes back to the db.

  • When I create a text message from my contact on my iphone 5, the contacts mobile number appears and not there name.  But when they respond to my text, is shows up as a new text message with there name.  How do I fix this?

    When I create a text message from my contact on my iphone 5, the contacts mobile number appears and not there name.  But when they respond to my text, is shows up as a new text message with there name.  How do I fix this?

    Double click the home button and swipe up the messages app to stop it, then open the app again. This pretty much completely stops the process and freshly opens it again, resolving problems at times. I have had this happen before as well on my iPad, I get a banner, check messages, and nothing new is there.
    If that doesn't work, close the app like suggested above, but then restart the phone by holding down the home and lock button for 10-15 seconds until the apple logo appears.

  • Messages from Russian and European mobile operators

    Hello!
    I'm have switched to Verizon from AT&T and now i can't receive international messages from my friends from Russia and Estonia.
    I have checked this list - http://businessportals.verizonwireless.com/international/Text_Messaging/view_all_countries.html
    and i can find only few mobile operators names in Russia. No BEELINE, no MEGAFON, no TELE2 in this list - this is a major mobile operators in Russia (wiki link).
    For Estonia - only EMT supported??? EMT - most expensive operator in Estonia, and atleast 2 another operators available in Estonia - ELISA, TELE2.
    Well, all settings on my iPhone checked twice, few hours spent for support calls, network settings reset, restart etc, operator from tech team can see all messages in line but i can't receive them because Verizon didn't support other operators.
    How you can fix this issue and when?

    Sure, two times already, and as i describe - tech guy can see that all messages from my friends waiting in line (buffer) and Verizon can't handle this messages because no contract between Verizon and BeeLine for example.

  • Send short message from Java application on mobile phone to server; http

    Hello!
    My question is: can I send short message from Java application on mobile phone to server - with the use of SMS (WMA) or http connection?
    I found this topic http://forums.sun.com/thread.jspa?threadID=5405431 about: "how to send data from midlet to servlet using doPost method".
    There is also such topic http://forums.sun.com/thread.jspa?threadID=5408046&tstart=0 about: "CLDC and MIDP - sending SMS to server -> Wireless Messaging API (WMA)".
    Please, kindly help me.
    Code from the topic mentioned above, edited by me so that it can be read easily:
    //http://forums.sun.com/thread.jspa?threadID=5405431
    //CLDC and MIDP - Re: how to send data from midlet to servlet using doPost method
    I want to know how to pass the values .
    for examples : this is what i wrote for doGet
    String url = setting.getUrl().toString()"/testProServlet/servlet/UpdateCompanyProfile?userId="+loggedInUserId"&svComp="saveCompHex;
    userId and svComp has the data which is very long so i wanted to use doPost.
    Now i dont know how to do it.
    This is what i have done in doGet (midlet)
    public void saveCompanyProfile(String saveComp,int flag,String blankFieldNm)
         System.out.println("flag===" flag);
         if (flag==1)
              displayAlert("Company Profile Edit",blankFieldNm+" field cannot be blank.",AlertType.ERROR, edCmpRecForm, true);
         else
              String saveCompHex = helper.encodeHexString(saveComp);
              // String saveCompHex =saveComp;
              HttpConnection httpConn = null;
              serverSettings setting = new serverSettings();
              System.out.println("saveCompHex===" saveCompHex);
              String url = setting.getUrl().toString()"/testProServlet/servlet/UpdateCompanyProfile?userId="loggedInUserId"&svComp="saveCompHex;
              System.out.println("url of save company profile:: "+url);
              InputStream is = null;
              OutputStream os = null;
              try {
                   // Open an HTTP Connection object
                   httpConn = (HttpConnection) Connector.open(url);
                   System.out.println("urlMidlet1 save edited company data===::" url.length());
                   // Setup HTTP Request
                   httpConn.setRequestMethod(HttpConnection.POST);
                   httpConn.setRequestProperty("User-Agent","Profile/MIDP-1.0 Confirguration/CLDC-1.0");
                   System.out.println("urlMidlet2===" url);
                   int respCode = httpConn.getResponseCode();
                   System.out.println("respCode edit company profile=====" respCode);
                   if (respCode == httpConn.HTTP_OK)
                        StringBuffer sb = new StringBuffer();
                        os = httpConn.openOutputStream();
                        is = httpConn.openDataInputStream();
                        int chr;
                        while ((chr = is.read()) != -1)
                             sb.append((char) chr);
                        String sResultSvCompanyProfile= sb.toString();
                        System.out.println("+++++++++++++Company sResult+++++++++++++==="sResultSvCompanyProfile);
                        if (resultViewCompanyProfile.trim().equals(""))
                             System.out.println("++++++++++++++If++++++++++++++SaveCompanyProfile===");
                             displayAlert("Login Incorrect","Username and Password incorrect", AlertType.ERROR, mainForm, true);
                        else
                             System.out.println("++++++++++++++Else++++++++++++++SaveCompanyProfile===");
                             //companyProfile();
                             displayAlert1("Information","Company Profile edited successfully", AlertType.INFO, profileMenuScreen, true);
                   else
                        System.out.println("Error in opening HTTP Connection. Error#" respCode);
                        //the line below divided into two lines because it was too long
                        displayAlert("Connection Failed","Cannot connect to server, please contact the Administrator.",
                        AlertType.ERROR, mainForm, false);
              catch(IOException e)
                   e.getMessage();
              finally {
                   if(is!= null)
                        try
                             is.close();
                        catch (IOException e)
                             // TODO Auto-generated catch block
                             e.printStackTrace();
                             displayAlert("Connection Failed","Cannot connect to server, please contact the Administrator.",
                             AlertType.ERROR, mainForm, false);
                   if(os != null)
                        try
                             os.close();
                        catch (IOException e)
                             // TODO Auto-generated catch block
                             e.printStackTrace();
                             displayAlert("Connection Failed","Cannot connect to server, please contact the Administrator.",
                             AlertType.ERROR, mainForm, false);
                   if(httpConn != null)
                        try
                             httpConn.close();
                        catch (IOException e)
                             // TODO Auto-generated catch block
                             e.printStackTrace();
                             displayAlert("Connection Failed","Cannot connect to server, please contact the Administrator.",
                             AlertType.ERROR, mainForm, false);
              } //end finally
         } //end else (?)
    } //end savecompany

    hi,
    SMS API(WMA) is an optional package. It is not a MIDP1.0 or MIDP2.0 api's.
    There are phones which has WMA api with MIDP1.0 support .... Nokia 3650
    Seimens has some phone with their own api's to send sms.Check out seimens site for more info
    BTW, What do you mean buy sending SMS to Server????
    If you want to send message to server you can do it with Http.
    HTH
    phani

  • N8 Update - Message from T-Mobile today

    I got a Text from T-Mobile (UK)  today 12:13PM  Saying ....
    You'll soon receive the download to update your Nokia N8. It's free @ there is no charge for the download, all you need to do is accept. T-Mobile.
    There was no further messages to accept   
    Very odd     I already have PR1.1   was one of the lucky ones who got it on day it come out.
    Wonder what this T-Mobile message means  ????

    I did, and received a 'download now' notification. However, I was on the way to work and needed to use the phone so had to say 'no' - haven't heard anything since and very intrigued!

  • Problem sending a SMS message from mobile phone t809

    Hello!
    I am trying to send a SMS message from my cell phone. This is Samsung t809 phone with CLDC 1.1 and MIDP 2.0
    The code that I am using is next:
    MessageConnection smsconn = null;
    try
    smsconn = ( MessageConnection )Connector.open( "sms://:50000" );
    TextMessage txtMsg = ( TextMessage )smsconn.newMessage( MessageConnection.TEXT_MESSAGE );
    txtMsg.setAddress( "sms://18885552233" );
    txtMsg.setPayloadText( "Hello SMS!" );
    smsconn.send( txtMsg );
    catch( Exception e )
    e.printStackTrace();
    System.out.println( e.getMessage() );
    form_main.append( "\nError occured!" );
    if( smsconn != null )
    try
    smsconn.close();
    catch( IOException e )
    e.printStackTrace();
    System.out.println( e.getMessage() );
    Seems like on cell phone I have an exception because I can see the line "Error occured!"
    I have no idea why... :(
    Will appreciate any help and comments.
    Thank you!
    P.S. Oh yes... the phone 18885552233 is not real, I just used my friend cell phone to test. Does not work... :(
    Message was edited by:
    viva_unix

    hello,
    when you use smsconn = ( MessageConnection )Connector.open( "sms://:50000" ); it means that you are trying to connect to a sms server. So if you don't have a sms server on your computer, an exception is thrown !
    if you just wanna test sms sending, put the phone number in the string like this
    smsconn = ( MessageConnection )Connector.open( "sms://123456789" );<b>reference</b>:
    http://developers.sun.com/techtopics/mobility/midp/articles/wma/index.html
    hope it will help you
    peace
    supareno

  • Getting a text message from T-Mobile USA on O2 UK...?

    Hi,
    A friend of mine who lives in the US and who has a BlackBerry (on the T-Mobile USA network) has tried several times to send me text messages on my iPhone 3G (on the O2 UK network), but to no avail.
    I have contacted O2, but surprise surprise they told me that nothing is wrong at their end. I thought that the problem was maybe related to my upgrading to iOS 4.0.x, but yesterday I reverted to 3.1.3 and I am still not able to get text messages from my friend.
    Surely, there has to be something wrong with either my iPhone 3G, the operating system, and/or O2? For information, my friend is able to text to Germany (and the US, obviously) without any problem... so it's not like she can't text to Europe...
    Anyway, this is very frustrating, so hopefully someone knows something about this...?
    Cheers, Alan.

    For what it is worth, I found an 'old' phone of mine with a still-active Virgin SIM card in it. So, I thought I would ask my friend to text me to that other number and see whether I would get her text message. Well... surprise, surprise, I did get her text message. So, to me, it tells me that there is either something wrong with my iPhone 3G and/or the O2 network. I therefore decided to re-contact O2 and tell them about it, but... surprise, surprise again, they keep telling me there is nothing wrong. Completely useless!

  • Send Text message from adf to mobile device

    Hi All,
    My concern is that I want to send a SMS/text message from adf application to user mobile is there any sample proj / document/example application related to this requirement .pls help
    Thanks
    Edited by: 931029 on Jun 20, 2012 2:17 AM

    The example will not help you
    because the url that we generate we take it from the sms provider ( or the mobile service company )
    so its will not work with you.
    I mean if you want to send sms there is no standard way
    because its depend on the sms provider ( or the mobile service company )
    because every provider have different way>
    So the sms provider must tell you how to generate that URL or what is the a webservice
    that will send the sms.
    Thanks

  • Send sms message from pc to mobile

    hi...
    what we need to send sms message from pc to mobile and how can send it ????
    plz give me step by step
    thx

    Sending an sms message from your PC can be done in many ways. Firstly this can be send via email, simply type in the to field the number followed by the gateway. for example, [email protected] There are also a number of websites that allows you to do this simple search google for "send text message" and will see a list. The one I use is [http://www.wetextfree.com] it works and its free. Hope this helps you.

  • Sending Alert Message to mobile device from SAP

    Hello Experts,
    Can i send an alert message directly to any mobile device from SAP ? or i have to used Sybase as a middle layer ?
    And is there any way to send alert through Sybase Server without creating its MBO ?
    Regards,
    Tapan

    Hi Tapan,
    well, if I would have to do that..... I would at least need Sybase to keep development low. at the end you do not really need Sybase for this... but without SUP development effort is really high.
    Okay, in short:
    each device has its wn dedicated listener concept for push messages. This is platform dependend and you need to develop a native solution for this. It is possible, but it takes some time.
    If you want to be native, with Sybase you get this more or less for free. Issue here: Sybase does only support push notifications out of the box in the most complex scenario: therefore you need SAP backend, Netweaver Mobile Middleware, SUP and connect NW Mobile and SUP by ESDMA file. This gives you push from backend to device for free on nearly all plattforms out of the box.
    So at the end the first question qould be: how much do you want to develop?
    Or is it wnough for you to have SUP workflow? Benefit on Workflow: development effort is low, works out of the box, is multi plattform - but like every sunshine there is some shadow - performance of this approach is not really nice. Anyway, it could solve your issue: you receive an eMail in your device, this opens the workflow app and you can accept or decline for example a travel request.
    Would that elp?
    Regards,
    Oliver

  • After i update my mobile sim card its not working i got message from apple to change the sim card and i cant change it please i want fix the problem

    after i update my mobile sim card its not working i got message from apple to change the sim card and i cant change it please i want fix the problem

    Yes, the message is self-explanatory. You need a carrier who supports Apple's activation policy for an iPhone.
    iPhone: Wireless carrier support and features - Support - Apple

  • After syncing my iPhone to outlook (via cord) I get an error message from Mobile Me.  I don't even use Mobile Me. How do I get rid of it?

    After syncing my iPhone to outlook (via cord) I get an error message from Mobile Me.  I don't even use Mobile Me. How do I get rid of it?

    In your Uninstall a program control panel, uninstall the MobileMe control panel for Windows.

  • Text messages from Google and from bank delivered to my Q10 (as T-Mobile confirms) but I can't locate them.

    I don't find text messages from Google and from bank on my q10. private sent text messages are delivered normaly. I can also send text messages to myself. Only Googlee & bank TANs are missing. Any ideas?
    thank you
    lautrivta

    I'm afraid there isn't any good answer and I don't have a case number. I posted above what I told the customer support rep and she managed to get it working again. You may have to try calling again and see if you can get another rep who has some idea of what the 'aggregator' thing is and how to submit a ticket to get it fixed for your line.

Maybe you are looking for