Oracle today said it would buy Sun for about $7.4 billion, or $9.50 per share. The move gives Oracle both a significantly stronger position in databases, letting it produce the servers that run its apps, as well as access to Sun's software. Oracle will have access to Java as well as Sun's Solaris operating system and promises to invest heavily in both.