Is there is an API that allows you to compile from a java program? If not,
is this possible from within a java application? And how can I monitor the
output of the compilation?

Any help would be appreciated.

Thanks,

ER