A little about Java…
Java is basically a platform or a suite of programs that assists in developing and running programs written in java programming language. It provides a system for developing application software and deploying it in a cross platform computing environment. It is used in a variety of computing platforms, starting from embedded devices, mobile phones to enterprise servers.
A little about .NET…
.NET platform is basically a newer way to program on the Windows platform. It is fully object oriented and allows several languages to be utilised such as VB.NET, C++, C# etc. It provides the base services needed to interact with operating systems.
Pros and Cons of Java
|Object-Oriented||Look and Feel|
|Platform Independent||Single Paradigm Language|
Pros and Cons of .NET
|Object Oriented||Limited Object Relational Support|
|Caching||Slower than Native Code|
|Easy Maintenance||Vendor Lock-in|
Comparative Analysis Java & .NET
|Server Components||EJBs||.NET, COM + Serviced|
|GUI Components||Java Beans||.NET Class|
|Web Services Support||Add-on||Built-in|
|Unit Testing||JUnit||Microsoft Unit Testing Framework, NUnit|
|Web Application Framework||Spring||ASP.NET MVC, Spring .NET|
|Web Server Scripting||JSF||ASP.NET|
|Data Access||JDBC||ADO.NET / oLeDB|
|HTTP Engine||Application Servers from Multiple Vendors||IIS|
|Remoting||RMI-over-IIOP||SOAP, HTTP, DCOM|
Both languages are built with the intention of simplifying the development of apps. You need to make a fair choice between them depending upon your needs.
In case you are looking at an enterprise level application which has portability and is platform independence drawing high number of users, then might want to choose Java.
On the other hand, if you are looking at developing web services, highly secure applications which would be feature packed with a rich GUI. You might want to choose .NET.
Be wise… Be decisive…