Before his assassination, Kennedy wrote a pamphlet on the topic, later published as A Nation of Immigrants.