In April 2009, Oracle Corp. made what at the time looked like a bad deal. Or at least that was the conventional wisdom. It announced that it was buying Sun Microsystems Inc. for $7.4 billion, or $5.6 ...