DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2005

    Logging Java Program

    I am quite new to Java; I have done some tutorials and have played around with sockets, sending information between a client and server. I want to build a program in Java either an applet or application which can detect when a user has logged onto a Linux or a Windows machine and record how long they have been logged on for. I then want to display this information on a webpage.
    Does this sound like something that can be achieved in Java, and if so where can I start with a program like this, just trying to get my head round how I would do this.

    Thanks in advance for any advise.


  2. #2
    Join Date
    Mar 2005
    UK, London
    Hi, my personal opinion, you could use a database on a host such as Mysql. If you want your java desktop program to connect to a Mysql database, you will need to download the connector/j from the mysql web site. I have tried connecting to mysql on a hosting account and never got it to work, I can connect to mysql running on localhost with no problem. Hope this link will help.


  3. #3
    Join Date
    Nov 2005
    Thanks I will have a run through the tutorial, see if it helps me out.

Similar Threads

  1. Help! Simple Java Program.
    By SlickWilly440 in forum Java
    Replies: 2
    Last Post: 01-28-2006, 09:17 PM
  2. DevX does seem one sideded
    By Rob Abbe in forum Talk to the Editors
    Replies: 44
    Last Post: 01-13-2003, 02:57 PM
  3. Has Sun Given Up on the Desktop?
    By Lori Piquet in forum Talk to the Editors
    Replies: 114
    Last Post: 10-10-2002, 06:01 AM
  4. .NET vs. Enterprise Java: Who's Got Better Security?
    By Glen Kunene in forum Talk to the Editors
    Replies: 17
    Last Post: 03-23-2002, 12:43 AM
  5. Replies: 0
    Last Post: 11-16-2000, 12:45 AM

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
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center