Actualy I would think Java is a better technology to bet on if enterprise and neckties are your cup of tea. While things like AD, SQL Server and Windows are ubiquitous, there are lots and lots of companies that prefer Java over C#.
Not only that, Java talks to AD via LDAP and SQL Server via Microsoft JDBC driver. The same is not true the other way round for a lot of things though which means you are stuck in the Microsoft ecosystem the moment you put one foot in it.