Ok. It's not a battle. I'm curious about the concept of framework, I worked with some frameworks like django, zend, rails and cakephp in various levels.
Today a friend of mine sent me a presentation where he listed .NET as a framework, no big surprise I've discussed about .NET framework and I know the basic concept behind it, and from my limit point of view in the .NET technology it seems fair to say it's a framework.
But then it hit me? Why is Java a Language and .NET is a Framework, the more I read the more I get confused, Both Java and .NET have SDKs, is it because java runs on a VM? Is it because .NET supports multiple programming languages? What is the big difference I'm missing here?
The biggest difference between Java and . NET is that Java can run on any operating system through its compilers and JRE (Java Runtime Environment) as it follows the principle “write once, run anywhere”. On the other hand, . NET works only on the Windows operating system and its different versions.
NET Framework is a platform for building software. It is not a language itself. The primary (but not only) languages developers use to build software on the . NET Framework are C# and Visual Basic.
NET framework is a pure object oriented, that similar to the Java language. But it is not a platform independent as the Java. So, its application runs only to the windows platform. The main objective of this framework is to develop an application that can run on the windows platform.
The most prominent difference between . Net and Java is that Java works on any operating system and . Net mainly focuses on different versions of Windows.
Java is both a language and a framework, both tied together and given one name.
.NET is a platform that has many languages that use it - C#, VB.NET, F# and many more.
The difference is one of naming and semantics, no more.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With