The Bridge on the River Kwai was first published in 1952.
Its writer, French-born Pierre Boulle, had been a prisoner of the Japanese during WW2. He used his experiences as a background to the book.
Interestingly, the original English translation of the French title of the book was The Bridge over the River Kwai. This appears to have been changed after the appearance of the David Lean film.