In this paper we shall characterize the large deviation principles (abbreviated to LDP) of Donsker-Varadhan of a Markov process both for the weak convergence topology and for the .-topology, by means of a hyper-exponential recurrence property. A Lyapunov criterion for this type of recurrence property is presented. These results are applied to countable Markov chains, unidimensional diffusions, elliptic or hypoelliptic diffusions on Rienmannian manifolds. Several counter-examples are equally presented.