IKVM
This will allow you to use code between .NET and Java. I like the most sensible people in the world who prefer to write data access bits in .NET, but if you have existing Java code that you want to make available for .NET services, this is available
http://www.ikvm.net/
RESTful Web Service ++
This is the smartest and obviously fastest way to get up and running. Again, you can use something like Jersey, ASP.NET MVC, NancyFx, or any other REST application server that you would like to start and run.
I would recommend you use NancyFx and ServiceStack.Text. These are two very simple, very clean implementations and extremely fast, what you need if you use it as a unified DAL on top of a database.
Nancy: https://github.com/NancyFx/Nancy/
ServiceStack.Text: https://github.com/ServiceStack/ServiceStack.Text
Jersey: http://jersey.java.net/
ZOMG T3h H0rror - COM + / DCOM
This is truly a viable option if you cannot use RESTful web services and also assume that you are exclusively on Windows. It will also be most unpleasant depending on how crazy your requirements are. This suggests that I saw this before and saw how it works very well, especially when you have legacy C / C ++ components living inside different segments, if your infrastructure.
source share