Loading ...

Difference between Java and .NET

Who is online?  0 guests and 0 members
home  »  forums   »  general topics   »  faq - frequently asked questions   » Difference between Java and .NET

Difference between Java and .NET

Posts under the topic: Difference between Java and .NET

Posted: 10/4/2010

Lurker 170  points  Lurker
  • Joined on: 9/16/2010
  • Posts: 34

Hi guys,

 

     Can any one tell me the difference between for java and .net 


Posted: 10/4/2010

Professional 8338  points  Professional
  • Joined on: 4/15/2009
  • Posts: 424
  Answered

vamsidhar said:

user="vamsidhar janjanam"]     Can any one tell me the difference between for java and .net 

Hi and Welcome to the CodeASP forums!

Erm.. well, sadly, I'm not a java developer so I can't tell you about their differences but hopefully you can find some helpful information here: http://en.wikipedia.org/wiki/Comparison_of_the_Java_and_.NET_platforms

 


Posted: 10/4/2010

Lurker 170  points  Lurker
  • Joined on: 9/16/2010
  • Posts: 34

Ya the think is in our company ao many people are asking for the difference between java and .net 

 

so asking so get me strong difference and we can say that .net is best compare to java 


Posted: 10/4/2010

Professional 8338  points  Professional
  • Joined on: 4/15/2009
  • Posts: 424
  Answered

vamsidhar said:

user="vamsidhar janjanam"]many people are asking for the difference between java and .net 

Try to do a simple search about it in google and I'm sure you will see alot of people are debating about this topic. :}

http://www.google.com/#sclient=psy&hl=en&safe=strict&q=sdifference+between+java+and+.net&aq=f&aqi=&aql=&oq=&gs_rfai=&pbx=1&fp=84f34ab5383c7ee9


Posted: 10/5/2010

Professional 8505  points  Professional
  • Joined on: 5/3/2010
  • Posts: 391
  Answered

vamsidhar said:

user="vamsidhar janjanam"]

Ya the think is in our company ao many people are asking for the difference between java and .net 

so asking so get me strong difference and we can say that .net is best compare to java 

As you already know, both platforms are made to develop highly capable rich applications.

Here are the main advantages of .NET over Java

- I've started primarly working with PHP and also Java. Have found them quite good for creating rich applications all until I came across .NET / ASP.NET Platform.

 

First reason why .NET and not Java

.NET applications could be faster than Java apps. I say 'could' because it depends of the developer first. However, if we have application with equal code, the application made in .NET will run faster because the .NET byte-code gets transformed first into IL (intermadiate language) so its transfered as native code before execution.

.NET framework supports many different languages to work with, while Java is based only on Java language. On .NET framework you can work with C#, VB.NET, J# etc.. even you can create your own language - and all these languages are compiled into Microsoft Intermediate Language.

And all this is enabled thankfully to the .NET CLR (Common Language Runtime) - see the picture above and everything will be clear to you (taken from Wikipedia article)

 

So, you are faimiliar with Assembler and want to write your own language ex. Vamsidhar.NET - you can! :) Even though, its not needed having such a rich languages like C# or VB.NET

 

Second reason why I would go with .NET and not Java

With .NET together you have the best IDE you can even work with - VisualStudio.NET which makes the language integration in .NET very seamless. With the latest .NET Frameworks, you have pallete of new technologies and features that beats the competitors, such as:

- ASP.NET MVC
- Silverlight
- LINQ
- WCF
- WPF
- WebMatrix
- Enhanced languages libraries
- Sharepoint
- Exchange
- Office Products integration
etc etc...

 

Third reason why .NET and not Java

What is especially important for the Business companies, development with .NET IDE goes much faster than with Java. You have everything from one vendor, Microsoft, while in Java you will need at least for different things to find different implementations. Building Java application will many times require you to get libraries from different vendors, especially concerning the GUI (.NET like apps have also better looking GUIS too ;) )

 

Fourth reason why .NET and not Java

C# has some features that are not supported in Java. The C# delegates is one of the major things which you don't have it in Java. Advanced C# developers know what great things can be done with C# delegates. Also, LINQ is here which can be very very great thing to work against databases or collections.

 

The rest of the reasons can be found by googling, as Vinz said :)

Also, take a look at this: http://news.cnet.com/8301-13505_3-9884500-16.html - published on March 3 2008 - now, the percentage has even increased.

 

Hope this answers your question.

Kind Regards,
Hajan


Page 1 of 1 (5 items)