Java dial-up abilities

Hi,
Is it possible to perform dial-up connections (to some remote computer) from Java desktop? Are there Java APIs that would give me the ability to get access to functions such as RAS networking in Windows or PPP dialups in Linux?
I need wide functional features, not just like connecting to default entry or what javax.comm offers (serial or parallel ports). Any useful threads or links would be very helpful.

Thank you for advice, but that's not what I'm looking for. Imagine a Java application (Windows or Linux based) making connections to some remote servers by means of PPP, which finaly establishes TCP/IP connections. There can be various types of connections using modems, VPNs, mobile phones, etc. Internet dial-up connections are one of its subsets. And there's an urgent need to control those connections (calling, establishing, hanging up) from Java application.

Similar Messages

  • Java Dialer calling a phone

    Hi
    I am new to this forum i hope someone can help me?
    I am developing a phone dialer in java that connects to asterisk.
    The problem is that i don't know how to like connect to the sound card or something
    because i want to be able to call a number through the computer without using a softphone.
    Is there a way in java to make a call and if u have the code i need to create a call and speak
    through the computer it would be much appreciated.
    Thanks in advance
    Edited by: JustinMuir on Sep 11, 2008 2:00 AM

    Was this a mobile number or home number as home numbers for me anyway don't work if the area code hasn't been included
    For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled.   Richard P. Feynman

  • Dial-up networking implementation

    Hi,
    I'm currently developing an application that requires dial-up to a RAS server. Client hardware requirements for this app are windows box with either USB/Serial modem or ISDN connection.
    Client app will be driven with Swing GUI but I need help on the dial-up part.
    My questions are:
    1. What kind of technology JAVA provides in regards to dial-up programming? I've considered commAPI but apparently this only work for serial modems only.
    2. Can I use JTAPI to setup the dial-up and connection with either modem or ISDN?
    3. Or can I use JNI to call windows native dial-up control from my application? If so how?
    Glad if someone out there can at answer part of my queries?
    Thanks

    You can use the JDUN API (Java Dial-up Networking For Windows) that can be found at http://www.JavaAPIs.com. It supports enumerating RAS dial-up entry names, dialing entries, and hanging up entries.

  • How to terminate Windows dial-up Network session

    Need help terminating a Windows dial-up network session from my Java application demo. The application runs on an unattended PC and periodically initiates a Dial-Up networking session, in order to send an email.
    I'm binding a Process variable to the output from...
    <runtime>.exec("rundll rnaui.dll,RnaDial <DU name>")
    The Windows dial-up session starts OK and the mail message is successfully sent. However, when I try to terminate the dial-up session using...
    <process>.destroy()
    ...it does not terminate the Windows dial-up session.

    You can use the JDUN API (Java Dial-up Networking) that can be found at http://www.JavaAPIs.com. It supports enumerating RAS dial-up entry names, dialing entries, and hanging up entries.

  • Exception handling - general concepts

    ok, well i skipped the chapter on exception handling :=)
    Correct me if im wrong, but lets say im writing some code and im not sure how to handle some of the exceptions that might get thrown or what exceptions will get thrown for that matter. How does one go about handling every possible exception that is "required".
    I guess what im trying to ask is that if a certain block of code is calling methods that throw specific exceptions, then you will need to handle those exceptions. So that means you need to be aware of, or know to go lookup the possible exceptions that those methods can throw.
    Im skipping around in Beginning Java 2, from wronx press jdk 1.4 edition

    This is quite a hard one to be specific on as I think most of us learned this with a bit of trial and error.
    1. IO always requires the method to be thrown ie
    public void writeContents() throws IOException {
    // methods
    2. The compiler will tell you when you need a try /catch block
    3. I often code this with;-
    try {
    // my methods here;
    catch (Exception ignore) {}
    and have empty braces with a general catch all Exception on the first run
    4. Then if there are problems such as the code won't work I fill in the blanks ie;-
    catch (Exception e) {System.out.println(e);}
    // or e.getMessage() );
    // or printStackTrace();
    depending on what the first message is
    5. Correct the exception now that you know what it is. Really this is a form of 'divide and conquer' as you eliminate the problems as they occur through javas exception handling abilities.
    6. With a bit more practice you will implement things like finally and know when to put the handler back to 'catch (Exception ignore) {}' and when to leave it in.
    7. Exception handling can also be used to instruct the client in useful ways too eg;-
    try {
    myTextfield.setText("Enter Your Age");
    myInt = parse ...(myTextfield.getText(etc ...
    catch (NumberFormatException nfe) {
    myTextfield.setText("Enter Number Values Only");
    // or something like
    catch (NullPointerException nfe) {
    myTextfield.setText("Oops you forgot to enter a value");
    This has been my experience anyway + I trust I have assisted

  • Getting screen to repaint() before long operation

    greetings all,
    lately, i've been having a heck of a time getting my JFrame to repaint itself before i start a long operation. In this case, i'm generating a little network traffic. What i'd like to do is be able to update a label on my JFrame so that text is displayed telling the user that a long operation is starting, and then start the operation. However, no attempt i've made so far works. i've tried calling repaint() on multiple objects in a row, i've tried calling repaint() on the same object many times in a row....nothing seems to work.
    Can anyone shed some light on this?
    peace
    ...alan lew

    I find it very disappointing that Java can;t do a simple task like this. I guess i won;t be including this status message into the app i'm writing at this point. That is, unless someone has a definitive answer that doesn;t involve re-writing code for a simple graphics update.
    I, too, had the same problem when I just started out with Swing stuff. I had a status bar that needed updated immediately. I solved it by taking good advantage of Java's multithreading abilities, and ever since then I've never had the problem.
    I don't think it comes down to Java not being able to do it, but rather to a fundamental design flaw in your program. If you would have thought about the status problem BEFORE writing it, then the threading stuff would have been no problem. Please don't take that the wrong way, I'm not knocking your program or competence or anything. I'm just saying, that some times when you've never done a particular thing before, then you don't really think about problems like that because you don't know they exist, and therefore when they come up, you're pretty unprepared and it's a pain in the ass.
    Granted, it seems like paintImmediately() should work, or at least there should be some way to do that. But, the fact remains that paint() doesn't work and it may come down to you having to rewrite part of your code.
    I still have the original code for my program that had the status bar problem. If I can figure anything out, I'll let you know. If you figure out how to do it without threads, post it here.
    Good luck,
    Jason

  • Accessing Windows dial-up connections from java

    Hello,
    Anyone has any idea how to go about accessing Windows existing dialup connections and instruct windows to dial-up to internet using the selected connection profile?

    1. why are you using java for a Windows only program?
    2. why are you attempting to do something windows specific for
    a non-os specific language
    WOW!
    I've been using java for applications I only run on Windows, Didn't know this is frowned own. You gotta be kidding me right? Do you really think all java programs are written in mind for it be be platform independant? I've been programming in java for around 3 years and we only run it on Windows systems. Non-os specific is nice, but everyone that programs using java isn't looking for that feature. If everyone else out there is only using java because it's platform independance please correct me, I'll be very surprised. One more question, just becaus he is possibly only going to use for a windows program, he should go learn another language? Sorry this post really surprised me.

  • Run dial-up connection from Java Program?

    Is there a way to run dial-up connection from a Java Program? It needs to platform independent.
    Thanks.
    Virum

    I very much doubt it, at least not platform independent. I had a, oops, heck of a time doing that from Visual Basic, where it is much easier to work with operating-system stuff like that than it is in Java. I finally ended up buying a RAS component to call from my VB program.

  • Oppening a dial up connection with Java

    How can I open a dial up connection using a java code ??

    i guess you should try
    String cmd = "c:\windows\dialup.exe";
    String envp [] = null; //environment variable
    Runtime.exec(cmd, envp);

  • How To Get A Java Program To Initiate Auto Dial in Windows???

    I have a Java program that opens a connection to a server (another Java program) using sockets and streams. On some windows machines (various versions) with auto dial enabled the connection is made without human intervention. However on some windows machines (even same as others) the autodial doesn't work and all I receive is NoRouteToHostExceptions.
    What I need is some way of initiating the autodial from within Java explicilty rather than assuming that the OS will do it when a request is made to a remote IP address.
    I emplore anyone with some knowledge of this to provide assistance as I am going nuts trying to solve this problems.

    A long time ago I figured out how to create, find, and manipulate items in the DialUp Networking using an InstallShield program. I am sorry I can't remember specifics (I wouldn't have even replied except no one else has either...) but I remember that I did a LOT of hunting on Microsoft's website for how to do this on the various platforms of the day (Win95, Win98, NT4.0).
    I imagine that in order to accomplish this from java, you will probably need to find the system-specific commands (at Microsoft) and exec them from your java program.
    /Mel

  • Send data during dialing with java enabled mobile devices

    hi every one ,
    this is the problem :
    i have 2 mobile phone with java enabled os , i want to call (dial) from phone1 to phone2 with java code , (this will be done by platformRequest("tell:123456"))
    AND then i want to for example press key '1' in phone1 during the call some program send this key to phone2 and in phone2 i want to switch this key and understand that was key '1' ...
    how can i send this data for example a key pressed event to another phone with J2ME ???
    i am developing it with netbeans Mobile Application by the way ...
    could you please tell me your opinion and help me in this ,
    Thanks a lot ,
    Omid

    Since no one has answer this post, I recommend opening  a support case with CSS as they can work with you to solve this problem.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • How to creat a Dialer Program in Java

    Help me in creating a Dialer program which dials to a specifie ISP.It should work like the Dialer provided in windows.Help!! Can we code such a program in JAVA.If yes, HOW!!!!
    Abhishek([email protected])

    Get the Java Communications package - javax.comm (comm.jar)
    This will give you access to Windows/Solaris serial (and parallel) ports from Java.
    You then need some simple modem handling to perform the dial and initial handshake.
    Steve

  • Web based Auto dialer in java

    Hi,
    I have assigned the work that implementation of "web based auto dialer in java". The problem is I have a button on the web page . when I click on that button . I have to call to particular number (fixed number). I have search a lot . I didn't get . please tell me how to approach or please send me the code anybody have already implemented.

    Hello Developers,
    i am a new bee in this field. I have stressed out myself searching over the Internet. To my bad luck, not able to understand how the hel to proceed. What i was able to get were some s/ws .
    I request the community to please guide, how to proceed .
    Will be really grate full!
    Even a little help will be appreciated!!

  • Dial-up using Java ..

    Is it possible to communicate with a modem (on a COM port) using Java ? I'm trying to get a VPN connection to a server setup by dialing-in to it (sort of like Hyperterminal or Dial-up Networking in Windows) Is this possible with the new communications API ?
    Thanks.

    Is it possible to communicate with a modem (on a COM port) using Java ?
    Yes with useing jni
    Is this possible with the new communications API ?
    Dont know I am not that familar with the new communications API you would have to go take a look and see

  • Phone dialer in java

    Hi there,
         I am doing a project on �telephone dialer� using Java on Linux. It should work like phone dialer of Windows. I want to know how to interact with the modem through Java and then dial the number.
    Please help out.
    Thank You.
    Subramanya.

    i am also a newer in java programming. but i think you maybe could use java comm api control com port ,then send AT instruction to control modem

Maybe you are looking for

  • Why won't my RAW files import into LR4?

    Hello all, Something very strange is going on with LR4.  I have been using LR since version 1 and never had this happen before.  When I have an SD card filled with jpegs and RAW files from my Fuji X100 camera and try to import all of them into LR 4,

  • FR: Opening Reports in .pdf over a Web Link URL

    Hello, I want to build a kind of start page in html, from where the users can launch financial reports. For this, I have integrated the URL link to the document like href="http://localhost.ads.company.nl:19000/workspace/browse/get/Reports/Controlling

  • How do I cancel adobe export pdf subcription

    how do i cancel a subscription for adobe export pdf?

  • IPod music delet

    I have a couple of MP3 songs that were incomplete when they were downloaded to my iPod. Can I delete them once they are transferred to my iPod? Thank you.

  • Automatic link to Apple page

    I'm trying to add new content to the web page I'm trying to learn how to create and am wondering what to do about the link to the Apple homepage that is on my site. I have a partially created text box, but when I click on it to add more text, it just