In their proof of the stability of standing-wave solutions of nonlinear Schrödinger equations, Cazenave and Lions used the principle of concentration compactness to characterize the standing waves as solutions of a certain variational problem. In this article we first review the techniques introduced by Cazenave and Lions, and then discuss their application to solitary-wave solutions of nonloca...