Java is more platform independent, it runs on several operating systems including Windows, Mac and Linux. .Net is primarily for Windows. Although the open source project Mono is developing a multi-platform runtime for .Net, so this is less of an issue than it used to be.
suported by multiple language
language and cached as native code before execution. All most Java2
programming is J2ME specific, but I don't think the Java2 VM Sun provides
for Windows does, one of our Java2 programmers told me that IBM has a
Just-In-Time VM for Win32 that does do this, but it's commerical software
and cost $$$ to license. The result of this is that .NET apps run faster
than Java2 apps on Windows with the default Java2 VM provided by Sun.
Also, Microsoft intermediate language is opened for language developers to
build on (it's actually an Assembly Langauge that you can write in if you'd
like), so C#, VB.NET, COBOL.NET, J#, etc.. All are compiled into MIL
(Microsoft Intermediate Language) if you wanted to create Pearl.NET you
could.
The .NET VM (aka Common Language Runtime) was built primarly with the Win32
API in mind and is closely knit to the Windows platform.
Getting past this the .NET class libraries provide a bit more functionality
than the class libraries provided by Sun (not much, just a bit though). This
is most just utility items (e.g. In .NET if you want to convert from one
data type to another their's a static Convert class that works like a magic
box) there are things missing in .NET though (no Vector, but you can make
one pretty easy)
The primary advantage of .NET (comparing the C# language here to Java2) is
that .NET has Visual Studio.NET (so far I've seen no other IDE that can
match VS.NET, yes I've tried WebSphere, Eclipse, Borland, Sun One, they all
fall short in some areas). The other advantage is ASP.NET which has stolen
the best concepts of JSP, PHP, ColdFusion, and borrowed from classic ASP.
ASP.NET is killer for web apps. (Although the Sun One studio for web
development is good enough that I probably wouldn't switch to .NET just for
ASP.NET at this point)
Java's primary advantage is that you have your choice of third-party tools
(third-party IDE, third-party application server, third-party web server,
etc...) it doesn't bind you to a specific platform and it runs everywhere.
If you're doing Windows development use C# and .NET, if you're app has a
chance to benefit from running on some other platform use J2EE.
.net IS NOT A LANGUAGE, it is a platform.
Java is open source,
.net platform is lot
Java is 100% platform dependent and portable.
.net is not platform independent.
many many more differences...
Java is basically a programming language which is designed to run on multi-platforms. Java makes use of a common language which can be compiled and run on different platforms like windows, mac and Linux.
On the other hand, .NET allows you to program in any language you wish, however, it uses compilers for different languages so that a platform specific code is generated.
Thus, the basic difference between Java and .NET is that Java can be used for writing programs for different operating systems whereas .NET can be used for making any programming language into a Windows Program
Both Java and .NET have their own advantages and disadvantages and are used for different purposes.
* Java is from Sun, .Net is from Microsoft
* Java is a language plus a run time, .Net is a run time framework that supports multiple languages, Visual Basic and C# (the .Net language most similar to Java) among them.
* C# is very similar to Java but a few years younger, and a bit nicer in some respects - it has a slightly simpler syntax for some common constructs.
* Java is more platform independent, it runs on several operating systems including Windows, Mac and Linux. .Net is primarily for Windows. Although the open source project Mono is developing a multi-platform run time for .Net, so this is less of an issue than it used to be.
* .Net has a more integrated development environment, as the IDE, runtime and server all come from Microsoft as a standard package, while Java is based on third-party tool and server providers. It used to be the case that the .Net development environment was clearly superior, but the difference is smaller these days.
By
vijayakumar.k
The main difference is that Java is programming language while .net is a framework which is implemented and used with various programming languages like Visual Basic, C#, Fortran and etc. So comparing java and .net is like comparing painting and frame. 1)java and .net both are programing language.
If you want to know in detail then you can get help from our experts at CodeAvail- Online Computer Science Assignment
help
Honestly I don't know what the difference is. Perhaps these are just different platforms for software development. In general, if I have difficulties in this area, I try to apply for it consulting services to a trusted development company. In this case, I can always get clear and accessible information from specialists.
(third-party IDE, third-party application server, third-party web server,
etc...) it doesn't bind you to a specific platform and it runs everywhere.
more that java support multi-programing and .NET support multi-languages
In c++ we have the advantage of implementing multiple inheritance where as in java we can't implement multiple inheritance directly for that purpose we are using interface.
Java uses a common language while in .net we can use many languages and it generates a platform specific code.
* Anything you can do with PHP, you can do with JSP; the reverse is not true
* JSP is much more powerful, since it has access to all the Java libraries. PHP only has access to PHP libraries
* JSP is Object-Oriented, so leads to cleaner code that's easier to debug, maintain, and improve. (PHP also allows objects, but the object model is more primitive, and most scripted pages ignore PHP objects and just use normal variables.)
* The equivalent syntax in JSP is just as simple to learn, so you can get up and running just as quickly -- that is, there's no extra startup cost in using Java, at least not a significant one
* Java programmers (as opposed to 15-year-old hackers or HTML monkeys) appreciate the importance of a clean language with complex OO data structures and strong typing
* With JSP, if the code inside a page gets too big, or if you want to use it elsewhere, you can cut it out, make it into a Java class, and invoke it from anywhere in your application (even not from a page). With PHP, you're stuck inside the HTML box.
* JSP's concept of state management and persistence is more explicit and powerful than PHP's. With JSP, you can specify whether a variable persists for the page, the request, the session, or the application (or if it's just local to the function). The JSP engine automatically does the right thing with cookies so you have access to the variable on later requests. With PHP, you just have "global" and "not global", you don't have automatic session management, and have to do your state thing manually with cookies or hidden variables.
We can develop an application faster using .NET when compare to Java.
But in security point of you Java take High Priority.
Java have high level security than .net.
Java is platform independent on the other hand .NET is language independent ie applications written in any programming language supported by .NET framework can be converted to any other language supported by the framework.(languages supported are VB.NET,C#.NET,J#.NET etc)
Java Is now open Source where as .Net is not
and My personal Opinion
java Is easy and beautiful, but .Net is Ugly and highly Abstract...
Hope It Helps!