User Profile

Collapse

Profile Sidebar

Collapse
James Bond
James Bond
Last Activity: Feb 24 '07, 12:15 PM
Joined: Jan 23 '07
Location: Ind!a
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • James Bond
    started a topic Modem application
    in Java

    Modem application

    Hi everyone

    I want to ask u a very important question. I dont have an idea regarding how i can detect a hardware attached to my system through a java programe.

    Acctually i want to detect a GSM modem through my programme so that my system becomes a server and the mobile cell phones can access its database
    by sending a message to my server.

    Please reply
    Rgds.
    See more | Go to post

  • You are doing very good.
    But what i want to do is that i want my application to detect the hardware itself so that it will work properly.
    Can't i detect what kind of hardware is attached to my system on a particular port. cause this is gonna make my app. more useable.
    Reply
    Regds
    See more | Go to post

    Leave a comment:


  • James Bond
    replied to Server and Log File
    in Java
    Thanks for really bright suggestions.

    I want to ask u a very important question. I dont have an idea regarding how i can detect a hardware attached to my system through a java programe.

    Acctually i want to detect a GSM modem through my programme so that my system becomes a server and the mobile cell phones can access its database
    by sending a message to my server.

    Please reply
    Rgds.
    See more | Go to post

    Leave a comment:


  • Tahnks for reply

    The modem is connected through a USB.
    See more | Go to post

    Leave a comment:


  • James Bond
    started a topic Hardware detection through a java programme
    in Java

    Hardware detection through a java programme

    Hi everyone
    I have a query that how can i detect a modem through a java programme.
    See more | Go to post

  • James Bond
    replied to Server and Log File
    in Java
    Thanks for really bright suggestions.

    I want to ask u a very important question. I dont have an idea regarding how i can detect a hardware attached to my system through a java programe.

    Acctually i want to detect a GSM modem through my programme so that my system becomes a server and the mobile cell phones can access its database
    by sending a message to my server.

    Please reply
    Rgds.
    See more | Go to post

    Leave a comment:


  • James Bond
    replied to Server and Log File
    in Java
    Did u notice that i have declared the constructor of the class as Synchronized.
    This was because i want either the server or the log file to access the data from the client at one time.

    Can u suggest me wat would i have to do when multiple clients log on to the sever.
    Regards...
    See more | Go to post

    Leave a comment:


  • James Bond
    replied to Server and Log File
    in Java
    Code:
    Thanks I got it.
    ...
    See more | Go to post

    Leave a comment:


  • James Bond
    replied to Server and Log File
    in Java
    Thanks for replying again.
    GOOD NEWS : I got the class compiled.
    The mistake i was doing was that i wasnt passing the value of the argument of the constructor to a local instance variable. and it was giving me an error msg "Go Hang Yourself".
    But now i have made that change. The New code looks like this:



    Code:
    import java.io.*;
    import java.net.*;
    
    public class socketReader
    ...
    See more | Go to post
    Last edited by r035198x; Jan 25 '07, 12:59 PM. Reason: removed quote tags and put code tags

    Leave a comment:


  • James Bond
    replied to Server and Log File
    in Java
    Thanks for replying!!
    The error msg that i recieve is that:
    illegal start of expression in public void run(). It points on the public....
    See more | Go to post

    Leave a comment:


  • James Bond
    started a topic Server and Log File
    in Java

    Server and Log File

    Hi there
    I am developing a client/server app in Java. I have created a client and a server
    via the java.net package. But now i want that ach time the client logs on to the server, a log file is created.

    For this i created another class that is used only to read data from the cilent socket and implemented runnable in this class.

    Now this reading class is called "SocketRead er", and is coded as follows:...
    See more | Go to post
No activity results to display
Show More
Working...