Java action procedure defining library