Java is commonly used for web and desktop applications and also for server side applications. It is widely used because of its versatile nature and presence on multiple platforms. And lastly its easy to get Java Developer than “hard to code” lanugauge such as C++ etc.