//ProcessDefinition orginial = getProcessDefinition(""+pil.getDefVerId());
//Some EJB containers doesn't carry out serialization for object passing (especially in case that the caller is in the same VM).
// So, it is required to make a copy so that the original object cannot be modified.
return (ProcessDefinition)orginial.clone();
}catch(Exception e){
e.printStackTrace();
throw new RemoteException("ProcessManagerError:"+e.getMessage(), e);
}
}