MonteCarlo portfolio simulation - it can be used as stand-alone command line application - it takes simple XML file needed data as entry and creates simple XML file with output, also this stuff have JNI and ISAPI interface.
jGnash Personal Finance
jGnash is a cross platform personal finance application written in Java. jGnash is a double entry system with support for multiple currencies. jGnash can import OFX and QIF files.