Extensive List of Products currently available:
Apache POI
OpenXls
JEXCEL
JXLS
xlSQL
JCOM
Personally, POI
will be the best option, but it involves a lot of coding effort compared to JXLS, which is a wrapper over POI. In JXLS
all you need to do is to create XLS template file with all required formatting, formulas etc using specific notation to indicate placement of data and then write a couple lines of code to invoke jXLS engine passing XLS template and the exported data as parameters. Catch in Jxls is the data in every cell must be a JavaBean
.