As a young man, James Joyce rejected his country and its religion, but went on to recreate the Dublin of his youth in his fiction. "Ulysses" was initially banned in the US, but has since been recognised as a masterpiece.