Handle Excel filesTag(s): IO JDBC Open Source
this Howto is deprecated
JExcel
Java Excel API is a java API enabling developers to read, write, and modify Excel spreadsheets dynamically. Any operating system which can run a Java virtual machine can both process and deliver Excel spreadsheets. One nice thing about JExcelApi is that it has no dependencies on any third party libraries.See http://jexcelapi.sourceforge.net/
POI
The POI project consists of APIs for manipulating various file formats based upon Microsoft's OLE 2 Compound Document format using pure Java. POI is your Java Excel solution as well as your Java Word solution.See http://jakarta.apache.org/poi/
JXLS
jXLS is a project that allows creation of extremely complex Excel reports just in several lines of code. It is based on Jakarta POI.With jXLS, all you need 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.
See http://jxls.sourceforge.net/
xlSQL
See http://xlsql.sourceforge.net/
OpenXLS Java Spreadsheet SDK
OpenXLS claims that it has the best compatibility with complex Excel files and able to handle any kind of Excel file out there without corrupting it. This open source effort is the result of over 6 years of development into it.See http://www.extentech.com/estore/product_detail.jsp?product_group_id=228
See also this HowTo for a way to create a simple XLS without any additional library.
mail_outline
Send comment, question or suggestion to howto@rgagnon.com
Send comment, question or suggestion to howto@rgagnon.com