Abacus Formula Compiler (AFC) allows integrating calculations defined in spreadsheets into Java applications.

AFC compiles Excel or OpenOffice.org spreadsheet files into Java classes on the fly.

The release 1.3.0 adds support for logging of intermediate cell values during computation. It also contains minor improvements and bugfixes. Please see full details here:
Release Notes - Abacus Formula Compiler for Java