adaliabooks: But I would say the hero of the book is Sam. Without him Frodo would have died and the ring would never have been destroyed. He's the one who gets the happy ever after as well.
You are absolutely correct. Samwise was indeed the hero, he was Frodo's batman (no not that kind of batman :-)). Tolkien was an officer during the First World War, and he had his own batman. He would always say that the common Tommy, the average English soldier, was far greater in worth than any officer, that it was they who achieved greatness, not the officers. He had Samwise be the hero to reflect how he felt, without Samwise, Frodo would have never destroy the ring. He is also only one of two people to give up the ring willingly (the other being Bilbo), and the only one to surrender the ring without being forced to do so (Bilbo was pressured by Gandalf). Despite his outwards appearance, Samwise was one of the strongest characters in the book. Perhaps not physically, but then there are many kinds of strength.
"My Sam Gamgee is indeed a reflexion of the English soldier, of the privates and batmen I knew in the 1914 war, and recognized as so far superior to myself" ~ J.R.R. Tolkien: A Biography.
I'm not sure he had the happy ever after ending, he was a Ring-bearer after all, and this did carry a taint. After his wife died, he travelled west, leaving his family and living his days with Frodo. I guess it could be seen as happy, he did live a long life with his family and was happy in the Shire. But Tolkien always had an undertone about him, as though the corruption of the ring was ever present with him, even though it was only slight and even though he only had the ring for a short time.