Because Mara Jade Skywalker, was infected by Yuuzhan Vong bioweapon comb spores, she and Luke decided against having children. However, despite their efforts, Mara found, while attempting to heal her body with the Force, that she was pregnent.
Ben was born at the end of Edge of Victory: Rebirth, a book from the Expanded Universe's New Jedi Order series.