File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases 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 Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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
It's not a secret anymore!