We discuss the most recent developments in our understanding of the
acceleration and propagation of cosmic rays up to the highest energies. In
particular we specialize our discussion to three issues: 1) developments in the
theory of particle acceleration at shock waves; 2) the transition from galactic
to extragalactic cosmic rays; 3) implications of up-to-date observations for
the origin of ultra high energy cosmic rays (UHECRs).Comment: Invited Review Article to appear in Modern Physics Letters A, Review
Sectio