1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Difference between .Net and Java platform?

Discussion in 'Programming' started by narendra007, Oct 3, 2009.

  1. #1
    Whats the difference between .Net and Java platform? Which is better? Why so? Please answer
     
    narendra007, Oct 3, 2009 IP
  2. vinoth2vinoth

    vinoth2vinoth Peon

    Messages:
    691
    Likes Received:
    7
    Best Answers:
    1
    Trophy Points:
    0
    #2
    .NET and Java are incomparable guided by the fact that .NET is a framework or simply a platform of presently 43 programming languages where as Java is a programming language.

    Java is platform independent on the other hand .NET is language independent i.e. 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)
     
    vinoth2vinoth, Oct 3, 2009 IP
  3. Mechanical

    Mechanical Banned

    Messages:
    657
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    110
    #3
    Java is developed by Sun Microsystems where as .Net is by Microsoft Corporation. a platform-independent langaugee called bytecode and executed by the Java.
     
    Mechanical, Oct 3, 2009 IP
  4. lov3struck

    lov3struck Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    .Net is Partly about Drag n Drop :p

    Java is all about coding coding and coding :p
     
    lov3struck, Oct 4, 2009 IP
  5. Ketan Deshmukh

    Ketan Deshmukh Peon

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Java can be also drag & drop.
    It can be done using eclipse & net-beans editor.

    I prefer .NET technology because it is a microsoft product. .NET is in full swing in the market & has great future.
     
    Ketan Deshmukh, Oct 16, 2009 IP
  6. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Which is better? Neither - if one was simply better then there would only be one.

    Each has its own strenghts and weaknesses and so for a particular task one may be better but in the grand scheme of things the correct answer is "it depends".

    We develop in .Net so have placed our stick in the sand but we develope serverside only so have no issues with it being a microsoft technology. If we were developing client side our decision may have been different depending on how big our likely Mac market etc was going to be.
     
    AstarothSolutions, Oct 16, 2009 IP
  7. brian65

    brian65 Active Member

    Messages:
    1,172
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    88
    #7
    .Net is a framework for which you compile a program, e.g. you could write a C++ or C# program and compile it to a .Net executable. As long as your Windows or Linux machine has a .Net runtime you can execute your compiled program. In this sense, .Net is both language and platform independent. Java is in many ways similar to .Net except that there is a single programming language (Java). .Net seems to have a much brighter development future than Java both for desktop and Web development via ASP.Net and Silverlight.
     
    brian65, Oct 16, 2009 IP
  8. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #8
    IF you dig the development side, go with Java - its an open ended book where you have to start pretty much from the ground up (the fun way) - where .NET has a pile of fast easy syntax, components, events, etc... all built in. If you need the control, go with JAVA but if you need it to be done within a year lol, go with .NET :)
     
    ccoonen, Oct 16, 2009 IP
  9. Traffic-Bug

    Traffic-Bug Active Member

    Messages:
    1,866
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    80
    #9
    Both .net and java platforms require runtime installations on the respective client systems. That said, java is slower on windows-based systems than is .net framework based code. i THINK .net CLR is also available for Unix based systems. Both are like Java bytecodes that pass through interpreter to execute like native code.
     
    Traffic-Bug, Oct 17, 2009 IP
  10. webmaster8757

    webmaster8757 Member

    Messages:
    69
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #10
    Their are lot of differences between java and .Net Platform
    e.g
    1)java and .net both are programing language. but java is platform independent but net is platform dependent. both r oops concept related.
    2) .NET is a framework or simply a platform of presently 43 programming languages where as Java is a programming language.

    3)Java is platform independent on the otherhand .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)
    4)dot net provide more user friendliness when designing the forms for example in .net we drag and drop controls into form which is not at all mind teasing process.developer can concentrate on the logic or other security issues.
    where as in java code for creating a simple control like button also takes a lot of programming for a developer.

    5) java supports connected architecture and .Net supports disconnected Architecture.

    6)Since java is multiplatform so it’s set of Framework Classes is limited to what is available on all platforms. While .Net has set of all the Classes available onMicrosoft Platform.

    7)Java has support to open source platform while .Net has no direct support for Open source Platforms.
     
    webmaster8757, Dec 11, 2009 IP
  11. jasevv

    jasevv Guest

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Java is the first one to come up with the platform independence nature of programming. It runs on a virtual machine. Since this makes the job of programmers easier since programmers need only to write code once and it can be run unmodified on different OS's having the java run-time environment. And its from Sun MicroSystems.
    .net is the set of framework from Microsoft that came after the Microsoft's Foundation Class to make programming easier for the windows platform. C# is the programming language of the .net framework. Its an answer to the java language. I mean the counterpart.
    Both are very popular. But using .net you get tied to microsoft's platform. However there is mono which is the open source implementation of the .net sponsored by Novell. But still..
    And .net is adding a functional programming paradigm with the introduction of F# with .net Framework 4.0 and Visual Studio 2010 officially. Where as Java is object oriented and not functional. However there are functional programming languages that targets the java virtual machine but its not from sun micro systems. eg: clojure..
     
    jasevv, Dec 11, 2009 IP
  12. bhimesh

    bhimesh Peon

    Messages:
    45
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Java is developed by Sun Microsystems where as .Net is by Microsoft Corporation.
    Both of them are capable of producing high end applications.
    Java is a light weight language and can be run on almost all the OS. Light weight doesn't means that it have less capability then .Net rather it means that it do not trigger the computer with lots of load and Hard Disk space. Whereas .Net needs a very heavy framework to be installed which have higher Hardware requirements too compared to Java.
    C# is the most popular language of .Net and is used to create any kind of programming like Web Application, WIndows Application and up to an extenct games programming too.
    The main reason why many programmers dominate .Net is because maximum things that you need to achieve manually in Java, are already provided by .Net framework automatically.
    The .Net garbage collector does not wipe away your objects as and when it likes, but will do the garbage collection in more efficient manner than Java. Basically in Java it has been upto the programmer to clean the memory manually whereas this task is moreover automated in .Net.
    Like .Net garbage collector runs at a certain interval and see is there is any memory occupied by any object whose parent is now finished processing (for eg. you closed an application), in this case the garbage collector automatically removes the reference of that object and free up the memory, whereas in Java you need to confirm it that all the objects are destroyed before application quits.
    On the other hand Java has a major advantage that it can be run on any OS which is able to install JVM. This is a major disadvantage with .Net.
    Also, for .Net a standard development IDE is available that is Microsoft Visual Studio. This tool comparises of all the things you require for your development purpose (Each and every thing you may think need of are at single place).
    Whereas, for Java no such standard tool is available. Although, many third party IDEs are available.
    So, in my opinion if you are going for WIndows programming and having quite a smart hardware then go for Microsoft .Net otherwise if you need multiple OS solution then Java is a better option.
    Please also note that if you are going to develop Web Applications then they don't have any problem in running to any operating system. Just one thing to remember that if .Net is used to develop such Web Application then this application is to be hosted on only Windows Server.
    Whereas, if the application is in Java then it can be hosted on any OS that supports Web Server including Windows.

    As per Microsoft's various tests and as per my own experience I found that .Net web applications are more efficient then Java web applications.
     
    bhimesh, Dec 10, 2011 IP
  13. florentino

    florentino Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Both of them has it's own strengths and weakness.java and .net both are programming languages and both run on it's own platform.
     
    florentino, Dec 10, 2011 IP
  14. miteshaegis

    miteshaegis Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #14
    Both Java and .net are programming language, and both are support oops concept but .net is platform dependent and java is platform independent. .net is user friendly language.
     
    miteshaegis, Dec 7, 2012 IP
  15. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #15
    Except for .net, which isn't.
     
    Rukbat, Dec 7, 2012 IP
  16. juliobeaupre

    juliobeaupre Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Java is object oriented language... Where as .Net is both, object oriented n also procedure oriented language. For me, Java is much better because it can be run on almost all the OS.
     
    juliobeaupre, Dec 12, 2012 IP
  17. ericlewis107

    ericlewis107 Greenhorn

    Messages:
    32
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #17
    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.
     
    ericlewis107, Jan 2, 2013 IP
  18. lolpasslol

    lolpasslol Peon

    Messages:
    860
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #18
    .net is microsoft product and java is provided by sun.
     
    lolpasslol, Jan 3, 2013 IP
  19. markabiyn02

    markabiyn02 Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #19
    • Java is a language plus a runtime, .Net is a runtime 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 constrJava 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.
     
    markabiyn02, Jan 4, 2013 IP
  20. celestiasybila

    celestiasybila Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #20
    Among so many differences I have compiled few points to clarify the discussion on these two plateforms:
    Java is from Sun, .Net is from Microsoft
    Java is more platform independent, it runs on several operating systems including Windows, Mac and Linux. .Net is primarily for Windows.
    Java is a language plus a runtime, .Net is a runtime framework that supports multiple languages, Visual Basic and C# (the .Net language most similar to Java) among them.
    .Net has a more integrated development environment,,,, while Java is based on third-party tool and server providers.
    ETC.
     
    celestiasybila, Jan 7, 2013 IP