I am planning to decompress XML formatted bzip2 file by downloading the file using Java class URL. Then I plan to decompress it on the fly using Apache Ant and then parse to store in MySQL database. I am not sure if there are better ways to do that. Also is there a way to update my database without having to go through the whole process every time?