Question:
If Dot net is simpler then JAVA,then why we use java?
kusum
2011-02-22 21:59:43 UTC
as we know java is very complicated and bulky.......compared with DOT NET.....n we can do any thing with DOT NET which wanna to do with java.......then why we go through with this bulk of coding....by using these heavy frameworks......and IDEs.....
Nine answers:
Fred
2011-02-22 22:06:53 UTC
Java is platform independent.



The same program will work on Windows XP, Windows 7, Linux, Unix, and Mac.You can do this, since Java runs on it's own framework.



.NET is Windows only, or if you have Mono installed on Linux. Mono does not fully support .NET so not all .NET features will work.



There are also other bonuses to using Java, but being platform independent is by far the most useful. We don't use programming languages because they are simple, we use programming languages because of what they can do. Choosing an appropriate language is part of the development processes.
Gardner
2011-02-26 02:05:23 UTC
.NET is a framework, and most people who program with .NET use Visual Studio, which is an IDE.



As stated above, Java's biggest perk is that it is platform independent where .NET has a pretty limited set of environments it can run under.



Java has a much larger 3rd party software support system because it has been around much longer. The .NET Framework is still growing and evolving. A few more version and you'll probably begin to see it become more and more main stream.



NetFlix already uses .NET technology. Silverlight is how they stream videos to your PC from their site.



.NET will never fully replace Java, but it will start to give Java a run for it's money very soon.
draciron
2011-02-22 22:19:31 UTC
A better question is why not PHP? If your doing web based programming PHP Is THE language to use. If your doing desktop stuff, Java has some major advantages over .Net.



First it's OS independent or pretty much that way. .net only runs on windows machines and compiled executables (which is a misnomer as they are really bytecode just like Java) can be version specific.



Java will be around 10 years from now. .net is about to be obsoleted with no clear means on how to move on to Microsofts latest buy this because we dumped the language you just spent 5 years becoming an expert in. Me I dropped out of M$ development back when they dumped the Visual studio tools. I'd started with PDS7 and QuickC then when M$ suddenly dropped all support for those tools I moved to Foxpro and when M$ suddenly dropped support for that into Visual Basic and when M$ killed that I gave up and moved to DBA and Sysadmin work. You can count on only two things out of a M$ development language. Lots of bugs and that it won't be around very long.



.net lacks much of the power other languages have. It's not even a jack of all trades, it's a master of none and good for nothing.



So it's worth a company to invest in the higher paid Java programmers because they won't have to rewrite the entire program again in 5 years like you do with a Microsoft language. If your doing web development .net is about like trying to win the Indy 500 in an Edsel. PHP blows everything else away in every aspect of web programming.
2011-02-22 22:15:19 UTC
Both languages are Turing-complete, this is true.



The main advantage of Java over the .NET framework lies in it's flexibility. .NET is specific to the Windows operating system, and cannot be run elsewhere. Java can be run on any platform with an up-to-date JVM (this includes Linux, Mac, Windows, and more).



In addition, Java is more net-centric than the .NET framework. It's main market share is composed of internet applets, and has not caught on with desktop applications as much.



In terms of complicated and bulky, neither .NET or Java are very good candidates. Both run of off a virtual machine, and neither are native source code - they trade performance for ease of programming (this is invested in features such as garbage collection).
suresvelan
2011-02-22 22:06:11 UTC
Good question.! Even we have a good programming language .. we are try to make it as optimized.. dot net is very easier than Java but Java is the only language which has more secure and optimum technical issues.. A good programmer would like to program with Java rather dot net..
?
2011-02-22 22:20:31 UTC
Depends on what you are doing. .Net with Visual studio helps to accelerate development of UI related activities. But Java API specification covers a lot of area of ui, io, web, remoting etc. Many of the associated third party utilities are available for free in Java. Another biggest advantage is it's platform independence. You can develop apps in windows and deploy virtually on any OS. Even Android SDK is based on Java
?
2011-02-22 22:02:12 UTC
I hate java SOOOOOOO MUCH. its slow, uses a ton of memory, is time consuming to program, and is very unstable. But idk why its getting praised. now if you are talkign about .Net as th e.net framework dev by microsoft i can give you a few reasons why, with the .net framework programs are a little slower(even thoguh they dont consume as much memory) because it relies on a CRL. i still use .net tho cuz its badass
2016-03-21 03:59:57 UTC
I know there are many answers already here, but first I suggest you to learn C then C++ and next your choice. C and C++ gives you a strong hold in programmin. Windows almost uses C. Most of the games are developed in C because of its realiability. You can search in google for free C tutorials. I suggest you to start with learning consle then go for graphics.
2011-02-22 22:01:06 UTC
That's you choice


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...