Microsoft .NET Framework Vs. Java


This article presents a review about Microsoft .NET Framework vs. Java. There are few important points of differences which come into limelight whenever there is a comparison of Microsoft .NET Framework vs. Java. Well, presented below is useful info about Microsoft .NET Framework and Java which will also help you learn in depth details about both types of platforms - Microsoft .NET Framework vs. Java. So, let us get started:


The Common Language Infrastructure CLI and Microsoft .NET Framework languages like C# and VB share various similarities with Sun Microsystems’s JVM and Java. Both of these languages are based on virtual machine models which conceal the computer hardware details on which their programs run. The other similarity is that both of these frameworks make use of their own intermediate byte-code, with Microsoft naming theirs Common Intermediate Language and Sun naming theirs as Java bytecode.


Other point which you come to know about while comparing Microsoft .NET and Java

Is that in .NET the byte-code all the time gets compiled prior to the execution, either Just In Time (JIT) or in proceed ahead of execution with the help of Native Image Generator utility (NGEN). On the other hand in Java the byte-code is either interpreted, compiled in advance, or compiled JIT. The similarity is that in both of the cases, extensive class libraries are offered which attend to various common programming requirements and also take care of various security related issues which are there in other approaches as well. The namespaces provided in the .NET Framework closely resemble the platform packages in the Java EE API Specification in style and incantation.


Microsoft .NET Framework vs. Java also shows us that .NET in its complete form can only be configured on systems which use Microsoft Windows as their operating system. On the other hand, Java in its whole can easily be configured on computer system using any of operating systems like Solaris, Mac OS, Linux or Windows.


Continuing with Microsoft .NET Framework vs. Java , there is one more important point of difference between .NET and Java which says that the Java Virtual Machine JVM was originally developed to a both language and operating system nonbeliever and was launched with the slogan "Write once, run anywhere." Although its been long that Java has long remained the most used language on the JVM by a wide margin, the recently developed support for dynamic languages has resulted in increased recognition of substitutes especially of JRuby, Scala, and Groovy.