Java implementation of the Cooked framework