Three men were sentenced to prison Tuesday in the fatal beating of a 22-year-old father outside a Boston nightclub in 2009, Suffolk County District Attorney Daniel F. Conley said.