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

Writing data to DB asynchronously

Johnny Belab

Joined: Oct 05, 2005
Posts: 12

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.

David O'Meara

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.

I agree. Here's the link:
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?