There’s a lovely old story about how the Christians decided which books should be part of the canon. One of the bishops threw them all into the air above an altar; the ones which landed on the altar and stayed there were holy writ.
Seriously, some of the New Testament books only got in by the skin of their teeth; Revelations, in particular, was much fought over, considered inspired by some, and eccentric to the point of heterodoxy by others. Then again, works like the Shepherd of Hermas were considered by many worthy of inclusion. Of course, the process of accretion of the canon took place over a couple of centuries, with different regions having different collections of books; it was the establishment of Christianity as the official religion of the Roman state under Constantine, with the consequent centralisation of ecclesiastical power, that really set these things in concrete.
Well, at present, it’s a work in progress, but I’m transcribing a book from the 1880’s and putting it on the web, which discusses the origins of the Bible. (Mods, it’s a free site, I make zero $ from it, so I hope it’s okay for me to post the link.) So far, all that’s up is the introduction, but when I get the second or third chapter up, it has a good bit of info on who most likely wrote what when in the Bible. (I hope to have it all up before the end of Feb. of 2003, so you might want to bookmark the site and check back from time to time.)