Difference between java technology and .net technology
by Nithya[ Edit ] 2010-01-28 18:40:13
First clearing that Java is two things Java language and Java Platform. Similarly .Net is two things the .Net supported languages and .Net Platform. Now come to major difference which is root cause of differences between Java and .Net
The ideal of Java has always been a Single language shared by multiple Platforms. Whereas .Net is based on Multiple languages shared by single Platform. Now come to derived differences from this major difference.
1).Net has Multilanguage support. While java has based on java language only. According to Microsoft latest news .Net support around 40 languages including major market share COBOL Vb.net C#.net Perl and many others.
2)Since java is multiplatform so itâs set of Framework Classes is limited to what is available on all platforms. While .Net has set of all the Classes available on Microsoft Platform.
3)According to Sun Java is renowned as âWrite once run anywhereâ. While .net has no such scene. But my perception is its not completely true to say âWrite once run anywhereâ but one aspect is that most of the applications written today focus on one platform only. Similarly to assure its multiple support much time needed to debug it on all platforms. So I would like to say Sun that itâs not âWrite once run anywhereâ but its âWrite once and Debug everywhere.
4).Net due to disconnected data access through ADO.Net has hi level of performance against Java JDBC which requires multiple round trips to data base.
5)Java has support to open source platform while .Net has no direct support for Open source Platforms.