- Java is developed by Sun Microsystems
- Java is a light weight language and can be run on almost all the OS(it require less hardware)
- Java you need to confirm it that all the objects are destroyed before application quits.
- Java has no standard tool is available. Although, many third party IDEs are available
- Java is a programming language designed to be run on many different platforms, and so uses a common language which has to be compiled and run on different platforms (eg. windows, mac and linux).Any OS which is able to install JVMJava can be used to write programs for many different operating systems
- Java interface, a null object reference maps to the VT_NULL VARIANT value
- Java interface, all failure HRESULTs from the underlying COM interface are reported by throwing a com.ca.openroad.COMException containing that HRESULT value
# .NET
- .Net is developed by Microsoft Corporation
- .Net needs a very heavy framework to be installed which have higher Hardware requirements too compared to Java
- .Net garbage collector runs at a certain interval and see is there is any memory occupied by anyobject whose parent is now finished processing (for eg. you closed an application), in this casethe garbage collector automatically removes the reference of that object and free up the memory
- .Net a standard development IDE is available that is Microsoft Visual Studio
- .NET, takes on a different approach, by allowing you to program in any language you choose,but has compilers for many different languages that generates a platform specific code (i.e.Microsoft or Windows).
- .NET can be used to make any programming language into a Windows program.NET COM interoperability layer maps null .NET object references to VT_EMPTY. VT_NULLis mapped to a special object type of class “System.DBNull”.
- .NET COM interoperability layer does something similar, using theInteropServices.COMException class. However, it uses that exception class only as a lastresort. If there is already a .NET exception class that reasonably represents the meaning of aparticular HRESULT, the interoperability layer throws that .NET exception instead of a COMException.
No comments:
Post a Comment
Open Researcher and Contributor ID (ORCID)