Java-based RIAPI-compliant on-demand image server