DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Jenny Guest

    modem connection


    I am new to Java and would like to know the following.

    My server needs to wait for any incoming call (from a client computer) through
    the modem.

    1) What library function should I use in order to detect any incoming call
    from the modem?

    2) After the connection is made, how can I communicate to the client. Say,
    the client will send me a string and my server will search on the local database
    based on the incoming string. Then return a text file, which contains the
    result, back to the client's computer.

    Any sample site I can get information on this issue?

    Thanks.

  2. #2
    Rob Abbe Guest

    Re: modem connection


    Jenny,

    Check out the Java Communications API.

    For more info check http://java.sun.com/products/javacomm/

    regards,

    Rob Abbe

    "Jenny" <mcyip@yahoo.com> wrote:
    >
    >I am new to Java and would like to know the following.
    >
    >My server needs to wait for any incoming call (from a client computer) through
    >the modem.
    >
    >1) What library function should I use in order to detect any incoming call
    >from the modem?
    >
    >2) After the connection is made, how can I communicate to the client.

    Say,
    >the client will send me a string and my server will search on the local

    database
    >based on the incoming string. Then return a text file, which contains the
    >result, back to the client's computer.
    >
    >Any sample site I can get information on this issue?
    >
    >Thanks.



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links