  We propose two schemes for the generation of the cluster states. One is based
on cavity quantum electrodynamics (QED) techniques. The scheme only requires
resonant interactions between two atoms and a single-mode cavity. The
interaction time is very short, which is important in view of decoherence.
Furthermore, we also discuss the cavity decay and atomic spontaneous emission
case. The other is based on atomic ensembles. The scheme has inherent fault
tolerance function and is robust to realistic noise and imperfections. All the
facilities used in our schemes are well within the current technology.
