Reaction mechanisms of weakly bound and exotic nuclei at near-barrier energies