Use POI
http://www.javaworld.com/javaworld/j...-0322-poi.html