Wednesday, May 14, 2008

Java --> .NET rough equivalents

To help me understand Java concepts better, I've made a comparison to the rough equivalents in .NET.

Here's the list so far:
  • Java ~= C# or VB.NET
  • J2EE/JEE (Java Enterprise Edition) ~= .NET framework
  • Swing ~= Windows Forms
  • AWT ~= VB6 Forms?
  • Beans Binding ~= data binding
  • JPA (Java Persistence API) ~= ORM via ADO.NET Entity Framework / LINQ
  • EJBQL/JPQL (Enterprise JavaBeans Query Language/Java Persistence Query Language) ~= LINQ
  • JDO ~= ADO.NET
  • JSF (Java ServerFaces) ~= ASP.NET
  • JSP (Java Server Pages) ~= plain ASP
  • Hibernate, JUnit, Spring all have direct .NET equivalents (NHibernate, NUnit, Spring.NET)
I'm still getting a grasp on a lot of this stuff, so please let me know if I've misrepresented anything. I'll also add to the list as I think of more things.

UPDATE: Paul Sasik posted a question about .NET/Java comparisons at StackOverflow.com, and got a lot of great responses, which update and expand this list considerably (see http://stackoverflow.com/questions/2526024/analogues-of-java-and-net-technologies-frameworks). Thanks for linking to my initial blog post, Paul.

No comments: