Apache POI is the best solution.