John Aquila: David has someone kill Uriah, (sort of like something the mob would do) then he steals his wife Bathsheba. She becomes pregnant and her first son dies, (poor bastard) the second son is named Solomon and he is given the Kingdom, Godly Wisdom, Gold in abundance and 1000 wives and concubines. Bathsheba becomes part of the linage of Jesus Christ. So everyone is blessed
JA, essentially correct except you've got a couple of things out of order.
David knocked up Bathsheba first, THEN he arranged for Uriah's death: "Make it look like an accident!"