Download JExcel. Maven user.
Write Excel file. JExcel API example to show you how to create an Excel file, and write data into it.
Read Excel file. Example to read above Excel file.
Add formatting to Excel file. An example can be further enhanced by adding some formatting.