John F. Kennedy served in the military during World War II