.NET vs J2EE

I know, I know this topic has been beaten to death on many forums, but it still fires up an argument between proponents of both camps. I myself have periodic arguments over this issue with a good friend of mine who is a staunch supporter of Java (needless to say I am a .NET supporter).

Recently I came across yet another article that makes a bold comparison between the two technologies and wanted to share it with you.


Little food for your argument hungry brain

6 Responses

Re: .NET vs J2EE

Recently I came across yet another article that tells you why Java is better than .NET -

101 Reasons why java is better than .NET -


Much more food for your argument hungry brain

- Vaibhav Puranik   October 26, 2004 02:30 PM

Re: .NET vs J2EE

I think more than two third's of the reasons are junk. The authors sometimes have confused the Windows Platform with the .NET platform. Some of them talk about standards, well, C# and the .NET platform have been standardized by ECMA where Java is yet to be submitted to a standard body (it anyways doesn't matter). A jump from unmanaged code (legacy systems) to Java would be more painful than a jump to .NET, it is never an easy decision either ways.

One of the points mentions Superior Web Development Platform, I wonder why Sun is copying the event driven model of ASP.NET and coming up with JSF? Or copying the Enterprise Services concepts and coming up with EJB 3.0?

I believe Vendor choice could be a good thing as well as a bad thing as pointed in the document in the original post. You can define the specifications, but cannot always control the vendor, best example is IBM.

I know the Collection classes are lesser compared to Java, but I think Microsoft has rightly chosen the approach of "always design and implement your product based on current requirements", as people request more collection classes, they will be added to the platform, but I am sure this cannot be a make or break deal for .NET.

Technology keeps changing and companies should always upgrade to newer technologies where it makes sense. That does not mean they jump from their existing Java based solutions to .NET.

I think with the entry of .NET in the market people now have a choice. They have to weigh their requirements, and their existing skillsets and choose one. I think both technologies are here to stay and people from both camps will continue to argue over this for the next 10 years.

That said I would like to conclude by saying that .NET is a much better platform than Java :)

- Vaibhav Kamath   October 26, 2004 04:58 PM

Re: .NET vs J2EE

I just fin my capstone pres. Lilly, the student whose working on the Ad Hoc tool built in java is a die-hard microsoft fan.

She said that she has turned the corner and has realized that java is not bad at all. For example, she compared the ASP.NET web application framework with JSF. The conclusion was that JSF has a much more powerful framework which is very scalable and promotes a whole lot of code reuse. But the bad part of the implementation of the framework is that its not robust in its first round - and thus is very buggy.

In comparision to ASP.NET, she stated that the coding framework (not the overall architecture) is limited and does not promote as much code reuse as java does. But the implementation is strong.

Just listening to her and not knowning enough of the JSF coding architecture - i cannot make any judgements. But what has strongly impacted me is that a die hard fan can admit that java has a good architecture for web applications. I dont care whose right or wrong. Im amazed at the admission. And if you meet her - shes preeched asp.net for months... but i couldnt let her have her way cause 1) we had to do this is java, and, to a certain extent, 2) I wanted to know the other side. Shes a extremely tough nut to crack. I thought I was stubborn. You should see her. She once told me - you know what Girish - I'll do enuff for you just to get a B-. I dont like java and I dont like this project... I had to literally beg her to do this proj.

Anyways, I would like to know what the facts are however... and the only way I can think of doing this is to implement a JSF web application.

Someday I we will have all the answers. Its just a matter of time.


- Girish Bajaj   October 26, 2004 08:11 PM

Re: .NET vs J2EE

I totally agree, I think we sometimes go too far into an argument on who copied whom and when rather than trying to understand the present and future of both technologies.

For starters here's an article explaining the two models, if you find an updated article please post it here so we all can learn the similarities and differences between the two.


PS: Do not go by the name of the website and assume it is a biased article, in fact it is a good article that explains the two approaches.

- Vaibhav Kamath   October 27, 2004 11:19 AM

Re: .NET vs J2EE

Well, this is not much of a .NET vs J2EE type comparision entry. Just something I realized today.

I asked the same student (lilly) from above to redo the whole UI of the ad hoc tool that she is building. Her UI was functional but our graphics designer made a whole new better looking one with layout changes + some minor UI control changes etc etc. Well, the ad hoc tool has more than 7K lines of hand written code - most of it code behind.

She agreed to change the UI.

Surprised? Well, initially I was not until I started to think about it. Imagine a UI built in JSP. All business rules + look and feel code mushed up together. Each page haveing its own loops, its own response.writes, its own if conditions and html mixed together. Well, lets just say that the power of MVC has just hit me big time.

I guess my mindset has changed drastically after working in ASP.NET. I cant imagine ever working in a JSP/ASP model again cause its too primitive and lacks the UI isolation that MVC gives us.

Im thinking that this underneath mindset that creeps onto you without notice, and sets the bar of your thinking a bit higher, is what made her agree to change the UI without complaints. I only wonder what she would have said if the project was in JSP.


- Girish Bajaj   October 27, 2004 06:28 PM

Re: .NET vs J2EE

Testing Comments!

- Vaibhav Kamath   January 13, 2007 09:27 PM

Leave a Reply

Please enter all required information