In the old days (two or three decades ago) soles were mostly sewn on. In recent years they're usually glued. It's cheaper (of course) but results in a book or shoe that's more or less disposable.
_________________________
“I'd rather have questions that cannot be answered than answers that can't be questioned.” —Richard Feynman