File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Help regarding devlopment of Proffesional  stanalone application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Help regarding devlopment of Proffesional  stanalone application " Watch "Help regarding devlopment of Proffesional  stanalone application " New topic
Author

Help regarding devlopment of Proffesional stanalone application

Piyush Patel
Ranch Hand

Joined: Feb 24, 2009
Posts: 127

hi , friends

i am going to develop an standalone application in java .
that supports 30 features .

i will use Microsoft access or MySQL database.

it involves too much database operation/transactions , i want to know is there any framework available to make database transaction easy and faster in j2se GUI.

Kindly give your suggestion.

Thanks:-)
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10535
    
    9

Is this a stand alone or distributed application?
As such it is a bad design to have any of your GUI classes talk to the DB directly. Usually one would have a dedicated class which talks to the DB at one end and with the GUI at the other end.

Depending on the complexity of your application, you might opt for a simple JDBC approach or more flexible like say Hibernate to talk to your DB


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Piyush Patel
Ranch Hand

Joined: Feb 24, 2009
Posts: 127

thanks for your post ;-)

i want to know is there any framework available that talks to database and keeps data updated all the time in application .


Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10535
    
    9

What exactly do you mean by updated all the time?
Piyush Patel
Ranch Hand

Joined: Feb 24, 2009
Posts: 127

keeping most recent data from database , database should be synchronized with application.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10535
    
    9

Polling might be a good option. I am not aware of any frameworks which will fire notifications to your application in case of any changes. You might want to search the forums. I get a feeling this problem has been discussed before.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help regarding devlopment of Proffesional stanalone application