Java overtook C++ in popularity because it was better suited for the Web, and today we are moving from that server-side architecture to "thin server architecture," according to Oracle Vice President of Development Cameron Purdy. He attributes this shift to a combination of cloud computing, HTML5, and mobile devices.