anyone know of a better way to use a regular POJO as a durable object (sometimes). example code in thread