Carleson characterized the positive measures on the unit disc for which the Hardy spaces embed continuously in Lp of the measure. This theorem has led to various generalizations, including similar results for the weighted Bergman spaces. In this talk we will review these classical results and show how similar characterizations hold on more general domains of the plane.