Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Database-aware Swing Application

 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks,

Layne
 
Shankar Narayana
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apply DAO pattern.

DAO Pattern


Regards,
Shankar
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Layne
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic