File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
Swing / AWT / SWT
how to get automatic backup from mysql?
Joined: Sep 29, 2010
Mar 21, 2011 01:14:22
I am developing an application using Swing. In this application, i need to get database backup from database automatically when we close application. how does i do this?please
Joined: Oct 13, 2005
Mar 21, 2011 04:56:07
I can think of two ways to achieve what you want. There are probably more.
1: Add a shut down hook to your runtime.
2: Add a WindowListener to your outermost (parent) frame.
Both those objects should call code to update the database.
I agree. Here's the link:
subject: how to get automatic backup from mysql?
Export data from database
Having a web application in my cmpnys domain but its backup size is increasing impacting the perform
Need External Back Up in Java Web Application
Backing up database through java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015