-
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.
Sam
-
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.
http://www.cy2online.net/ViewTutoria...anguageID=Java
-
Thanks I will have a run through the tutorial, see if it helps me out.
Similar Threads
-
By SlickWilly440 in forum Java
Replies: 2
Last Post: 01-28-2006, 09:17 PM
-
By Rob Abbe in forum Talk to the Editors
Replies: 44
Last Post: 01-13-2003, 02:57 PM
-
By Lori Piquet in forum Talk to the Editors
Replies: 114
Last Post: 10-10-2002, 06:01 AM
-
By Glen Kunene in forum Talk to the Editors
Replies: 17
Last Post: 03-23-2002, 12:43 AM
-
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
Forum Rules
|
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
|
Bookmarks