<human>:  When did the story in James Joyce’s Ulysses (book) take place?
<bot>: The novel is set in Dublin, Ireland, in 1904, but the events are fictional. The book follows the life of Leopold Bloom, a middle-aged advertising salesman, and his wife Molly, as they experience everyday life in Dublin. The book is told through a stream-of-consciousness technique, which allows the reader to experience the characters' thoughts and feelings as they occur.