Barack Obama rode a wave of anti-war sentiment to the White House but he vowed on Monday to maintain ”the strongest military on the planet”.