  Results are given on the measurements of the hard diffractive interactions at
HERA $ep$ collider. The structure of the diffractive exchange in terms of
partons and the factorisation properties are discussed, in particular by
comparing the QCD predictions for dijets and $D^*$ with measurements both in
the photo and electroproduction regimes.
