The idea that the war ended the Great Depression has served both Keynesian and anti-Keynesian polemical purposes over the years. A critical examination of the Keynesian version of the idea can be found here.