Cavity-QED implementations for distributive quantum computation