The behavior of superconducting weak links in an ac magnetic field is considered. Both small and long uniform junctions are analyzed. Analytical results are presented for various limiting cases. The general case is solved numerically for different parameter choices and the results are presented. Both similarities and significant differences are found between the small junction and the long uniform junction.