Home > Articles > Programming > Windows Programming

  • Print
  • + Share This
Like this article? We recommend

Like this article? We recommend

Advantages and Disadvantages

The following table summarizes the differences between Java under the Java framework and the .NET Framework.


Java Framework

.NET Framework

Code reusability

No true cross-language code reusability

Advocates true code reusability

Support for web services

Late starter to this area, but it does support this feature

Strong built-in support for web services

Platform independence

Great support

Generates platform-neutral code


Great support for XML and SOAP

Great built-in support for XML and SOAP

J# offers the following features:

  • Generates platform-neutral code in the form of MSIL

  • Support for class libraries of VJ++, JDK 1.1.4

  • Interoperates with COM

  • jbimp.exe converts the JBC (Java bytecode) to MSIL

  • Brings cross-language capabilities into Java language

  • Simultaneously supports both JDK 1.1.4 and BCL (Base Class Library) of .NET Framework

  • Accesses platform-native resources

  • Generates XML documentation

  • Writes ASP.NET applications

  • Writes web services

  • Retains the majority of Java-like syntax and features

These are J#'s disadvantages:

  • Programs can't run under the umbrella of JVM

  • No support for the Java Native Interface or Remote Method Invocation

  • No operator overloading

  • Minimal support to convert binaries making J/Direct calls

  • Automatic generation of proxy classes for web services

  • Cannot call WebService methods using Enum types

  • Cannot add reference to .exe files

  • + Share This
  • 🔖 Save To Your Account