Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

This java technology stack in .net?

Having worked for Java for 7 years I'm now moving into a project in .net. The team I'm working in have recently used a technology stack that we are fairly happy with in the business layer and below:

  • Spring for dependency injection, transaction management, security and for adding interceptors and for getting the possibility to inject different implementations of interfaces when in unit-test as oppose to deployed on a server.
  • JUnit for unit tests.
  • JPA/Hibernate for ORM

Could you use this stack in .net? I've heard of nHibernate, spring.net and nUnit.

Are these the translations into .net? or are those projects dead, bad implementations or what?

Are there other superior techniques/frameworks?

Appreciate your thougts!

like image 985
Tomas Avatar asked Jun 02 '09 19:06

Tomas


People also ask

What is Java technology stack?

To put it simply, a tech stack is a combination of software, programming languages, frameworks, and data storage technologies with which developers can build and run a single application. Facebook, for example, uses a combination of frameworks and languages including JavaScript, HTML, CSS, PHP, and ReactJS – this is ...

Which technology is best .NET or Java?

Java fetches most syntax from C and C++. Since it is a platform-independent language, you can run Java on various platforms . Net works on a common language infrastructure, supports arrays, type checking, checks variables and garbage collection. Hence, it provides durability, productivity and robustness.

Is .NET related to Java?

NET originates from Microsoft; Type. Java is a platform-agnostic object-oriented programming language that supports multiple third-party operating systems. . NET is an open-source framework that supports only Windows operating system even being declared as a cross-platform toolset.

What is in the .NET stack?

NET full stack is a comprehensive and integrated development platform for building modern applications. It enables developers to create high-quality, secure, and scalable applications on the web, in the cloud, or on premises. . NET provides a rich set of tools and technologies for building full stack web applications.


2 Answers

You nailed it - NHibernate, Spring.NET and NUnit are all widely used frameworks on the .NET side that compliment their sister frameworks on the java side.

None of those projects are anywhere near dead. I think NUnit just released a new version last month, actually.

like image 193
Joseph Avatar answered Oct 21 '22 05:10

Joseph


I would recommend xUnit.net over nUnit. It has a rationalised approach and some very nice features which set it apart from the other frameworks.

Assert.Throws() is just wonderful (beats [ExpectedException] hands down) and the Extensions assembly provides [Theory] which, combined with [InlineData()], is incredibly powerful. For more info see the project homepage

like image 21
Adam Ralph Avatar answered Oct 21 '22 06:10

Adam Ralph