This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JDBC and the fly likes Writing data to DB asynchronously Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Writing data to DB asynchronously" Watch "Writing data to DB asynchronously" New topic
Author

Writing data to DB asynchronously

Johnny Belab
Greenhorn

Joined: Oct 05, 2005
Posts: 12
Hello!

How should I implement a class that would write data (e.g. logging data)
asynchronously to database using JDBC?

I'm using J2SE 1.4 and 1.5.


Cheers!
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

There should be a DB appender in Log4J. Have a look there first, I wouldn't re-invent the wheel.

Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Writing data to DB asynchronously
 
Similar Threads
Html Paging mechanisms using AJAX
Struts-AJAX issue
updating a table using Ajax?
Locking on multiple simultaneous inserts
How to write telnet server like program?