wood burning stoves 2.0*
The moose likes JDBC and the fly likes Database-aware Swing Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Database-aware Swing Application" Watch "Database-aware Swing Application" New topic

Database-aware Swing Application

Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
I am writing a Swing application that manipulates data from a database (MySQL for testing, but hopefully I can generalize it enough to easily switch to other databases). Where can I find more information on writing database-aware applications in Java, specifically with Swing? If you are familiar with Delphi and Borland C++Builder, I would really like something similar to the data aware components that are available in the Visual Component Library. Is there anything like this in the standard Java API? If not, are there third-party libraries that provide this functionality?

Any help or pointers will be greatly appreciated.



Java API Documentation
The Java Tutorial
Shankar Narayana
Ranch Hand

Joined: Jan 08, 2003
Posts: 134
Apply DAO pattern.

DAO Pattern


"Failure is not when you fall down; its only when you fail to get up again."
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
Thansk for the link. From my brief look at it, it looks a lot like the solution I have come up with on my own. I'm sure there are some differences in the details, though. I'll have to take a look closer since I am interested in J2EE in general. It looks like the DAO pattern is still applicable to J2SE-only development, too.

I agree. Here's the link: http://aspose.com/file-tools
subject: Database-aware Swing Application
Similar Threads
Data store Options in Java for Desktop Applications
Dynamically adding a panel to a panel
Java Objects and Database Records
vector and resultset
Swing, awareness about unsaved data