Vyhledávání:

Java versus .NET

Translate into English | 18. 11. 2008 | Kategorie: Nezařaditelné, | Komentáře: 5

A while ago I wanted to check which platform is better for development - Java or .NET. I spent a long time on the Internet, found a lot of articles and none of them helped me with it. If you are in the same situation, here is some summary of what I found.

O'Reilly provides nice comparation side to side on the basic level. Worth look at as introduction. eWeek in 2006 meant that .NET already beated Java, while ComputerWorld (2002, pretty old) meant it is more important to think about integration of these two technologies and ADTMag agreed with it. Mindview also agrees that you'll use both at the end, Java is just older and .NET will consider more new people (which is true at least at our schools).

Veridicus just lists the pluses of both platforms (and speak about C# on .NET side), Graham Glass think Java is nice in its portability while .NET has pluses as well. On the other hand Charlie Collins think that .NET mean just a lot of spent money while Java offers a lot of opportunities.

Then there are articles on JavaWorld, which, at the end, just say nothing. Baseline didn't taky any side as well.

JJFlash meant that it doesn't depend on the language but of people and I think he is right.

Then I found some older whitepaper and it looks like Java is a bit better. Also Yahoo answers agree with it. Watsh Rajneesh wrote an article about not completely true statements regarding Java. And Payton Byrd meant that Java compared to huge project while .NET means a small one.

Finally there is Brennan with his article while he prefer .NET and I also found some salary comparison and it looks like Java people have bigger salary (just a bit).

OK, I don't know which one is better and for me it really looks, there is nothing like better in general, maybe better in some area. So, let's find what is better for you right now.

Technorati:

5 Komentáře

  1. Gravatar ImageGanapathiram Natarajan (18.11.2008 14:40)
    Java versus .NET

    Java has many frameworks - At view layer you have Struts 1 & 2, Spring MVC, JSF, GWT and a host of others. Then you have SPring itself which is famous for the Business Layer and especially for desiging DAO (Data Access Objects). Finally, at the Data Access Layer you can choose plain JDBC or use an ORM tool such as Hibernate besides other persistence frameworks. The learning curve is high but you get more choices.

    Contrast this with .NET - it's very controlled. You have ASP.NET for View, Custom Business Objects and then almost always Stored Procedure for databases. You have IIS, VS.NET, SQL server all on windows.

    You can of course simplify things with Java too but as far as I have seen Java architectures are generally complicated. Perhaps, their real value comes with being a middleware that can communicate with almost any platform.

    If you are building a simple to medium data driven application and there are no issues in tying to MS platforms, I think .NET will be a better and productive choice.

    Comparisons are often made based on similarity in languages, run time etc but my personal opinion is that the learning curve in Java is significantly higher.

    All the above are just my personal opinion based on my experience.

  2. Gravatar ImageMartin (18.11.2008 15:08)
    Re: Java versus .NET

    That's exactly what I heard and probably forgot to mention - in Java you have a lot of different path you can use while in .NET you have just one - which means it is easier to learn but have some drawback or walls you cannot cross.

  3. Gravatar ImageGanapathiram Natarajan (18.11.2008 15:45)
    Java versus .NET

    There is no clear guidence in Java on what framework works better for a given scenario. More importantly each framework is different so its not easy to swap out one with the other in the middle of the project (without incuring significant costs) if you figure its not working for your requirements (when requirements change which is quite common).

    So, finally it comes down to what your team knows well -- the hacks and work arounds you need to know to get things working. In the case of .NET you have a common knowledge base (which means a common knowledge of work arounds, hacks etc) across developers. There is one issue however - C# vs VB.NET

    I'm not sure how often having many choices really help, particulaly when dealing with small to medium applications.

    I think team skill, target environment will play an important role over having freedom of choice.

  4. Gravatar ImageCharles Robinson web (18.11.2008 15:50)
    Java versus .NET

    I have always found Java to have an extremely high barrier to entry. Having to figure out what frameworks to use, then use another framework to manage your frameworks, then actually write code... it's all overwhelming. I install Visual Studio .Net and it's all right there waiting for me. I find it somewhat easy to get around Visual Studio, Eclipse has me scratching my head even after reading Eclipse For Dummies (twice).

    And let's not forget performance of the resulting applications. I have never seen a Java application with a Windows UI perform well.

  5. Gravatar ImageGanapathiram Natarajan (18.11.2008 16:10)
    Java versus .NET

    >I find it somewhat easy to get around Visual Studio, >Eclipse has me scratching my head even after reading >Eclipse For Dummies (twice).

    In addition to being a more intutive IDE, Visual Studio comes with a clear mission to help you develop and deploy applications for .NET with IIS (or its own internal webserver for testing).

    Eclipse is general purpose IDE and you need to figure out how to structure your application for deploying to application server of your choice. You need to know more lower level details of deployment plans (though there are some standards that application servers usually follow) and understand ANT or Maven for building. Then again, if you know your tools then you master the environment. You get it for free and so spend your time mastering it!

Zanech komentář

Martin Humpolec

Martin Humpolec


Poslední komentáře



Podporuji

Pomocné tlapky o.p.s. - asistenční psi pro zdravotně postižené

Spojenci sportovců na vozíčku

   Hosted by Prominic.NET

Došli jste na konec, ale to neznamená, že nemůžete pokračovat někam dál. Můžete se podívat na další stránky v kategorii, která vás zajímá:

nebo naopak si články prohlížet podle období, ve kterém byly napsány. Nabízí se také sledování mého Twitteru; obecných článků jinde, které mě zaujaly nebo zajímavých článků o Lotus Notes od jiných autorů. Nebo úplně nejlépe - jděte se podívat na mé fotografie.

Díky za návštěvu

The postings on this website are my own personal opinion and are not representative of the views of COMPAREX.

Copyright 2001-2011 Martin Humpolec