Adam Gent
Adam Gent

Reputation: 49085

.NET equivalent Java tools and libraries

So I am pretty much been a Java programmer but I play with F# on the weekends. One of hardest part I have with .NET is trying to find the equivalent to some tool or library I had in Java.

Sure I can google the equivalent for each tools but I would rather see a side by side equivalent for each tool in one place. I also would like to know which one is the preferred or generally most popular equivalent tool/library.

Here is what I have so far:

Java ====> .NET

IDE: Eclipse ===> Visual Studio

Continuous Integration: Hudson ===> Not Sure.

Command line build: Maven and Ant ===> NAnt and Bylan I think?

XML Serialization: JAXB ==> Some .NET native stuff

JSON Serialiation SF JSON-LIB ==> ???

ORM: Hibernate ==> LINQ or NHibernate

Dependency Injection: Spring and Guice ===> I think there is .NET Spring

Servlet Container or Webserver: Tomcat,Jetty, so many ===> Tell me there is more than just IIS..

Unit Testing Framework: JUnit, TestNG ==> I think NUnit and XUnit

Mocking libraries: Mockito,JMock,EasyMock ===> ???

GUI: Swing ==> Win Forms I think???

AOP: AspectJ ==> Looks like you have to pay for something expensive.

Upvotes: 5

Views: 2632

Answers (4)

ayang
ayang

Reputation: 446

You will really want to look at Microsoft Moles for mocking. I quite liked moq but not being able to mock static methods was a deal-breaker. There were some commercial mocking frameworks that provided the full functionality I was accustomed to in Java, but Moles is free.

Upvotes: 2

Corbin March
Corbin March

Reputation: 25714

Mocking ==> https://stackoverflow.com/questions/37359/what-c-mocking-framework-to-use

Continuous Integration ==> CruiseControl.NET

JSON Serialization ==> DataContractJsonSerializer

GUI == > WPF (different than Swing but nice)

Web Server hooks ==> Mod_Mono

Upvotes: 3

willvv
willvv

Reputation: 8639

Let me fill a couple of those:

Continuous Integration: Hudson ===> CruiseControl + MSBuild

ORM: Hibernate ==> Entity Framework or NHibernate

Dependency Injection: Spring and Guice ===> Castle

Unit Testing Framework: JUnit, TestNG ==> NUnit and XUnit, VS2010 comes with it's own testing framework, MSTest

Mocking libraries: Mockito,JMock,EasyMock ===> Moq

GUI: Swing ==> WinForms

Hope it helps

Upvotes: 2

duffymo
duffymo

Reputation: 308763

Dependency Injection: Spring and Guice ===> I think there is .NET Spring

Yes, there is. There's also Microsoft Unity and Enterprise Framework 4.0.

Unit Testing Framework: JUnit, TestNG ==> I think NUnit and XUnit

And FitNesse.

Upvotes: 1

Related Questions