Understanding the Pros and Cons of .Net and Java
.Net and Java are said to be the two widely used development environment to build web applications. It is very difficult to predict as to who will emerge the winner, but the clear indication is there that the large enterprises who have been using Java for a long time or the enterprises who use different platforms, will surely continue their relationship with Java. As far as .Net is concerned, the enterprises who have Windows platform and who is looking for faster development time will go for .Net.
With Microsoft based solutions like .Net there is a limited possibility for scalability for large scale deployments than it does with any Java application. Moreover, today if you select any Microsoft based solution you without any reservation select the hardware, operating system, and middleware. This is in contrast with the Java, which is independent of any operating system and middleware.
Java is being used cross platform because of Java Virtual Machine (JVM). JVM translates the code to bytecodes and then complies it to machine code according to the operating system. Likewise, now, .Net has developed Common Language Runtime (CLR) engine that converts the program code into Microsoft Intermediate Language (MSIL) and then just in time the MSIL is translated to the native code. .Net now supports over 20 languages. It has in built data types in classes known as Common Type System (CTS) that automatically understands the types of other languages and executes simultaneously. Therefore, when .Net support multiple programming environment, Java, on the other hand is focused on only one programming language that support multiple environments.
it is very difficult to argue which platform is best unless the enterprises understand
their needs. By and large, these two platforms are here to remain as future e business
development environments. .Net will leverage on Rapid Application Development
(RAD) solutions, while Java will dominate the large scale enterprise