Menu

1 / 2

Java APIs written in C#: JVM and .NET side-by-side

DEV Community: dotnet·Mario Mastrodicasa·10 days ago
#iLKHc2Im
#devtodotnet#devto#dev#jnet#java
Long article (2291 words) — no AI summary yet.
Reading 0:00
15s threshold

In this article I present another way to use any JVM enabled language from .NET: the project JNet , hosted on GitHub. The project exposes almost the full API surface of Java 8 to any .NET user, but not only this.

Why a project like this?

The answer to the question is in the history of another project: KNet . KNet is the porting of the Apache Kafka Java APIs to .NET and I will write deeply on it in another article. Well, originally the first project done was KNet and Apache Kafka Java APIs were written in C# with a big developing effort. Looking in the code many classes used from Apache Kafka are the one of the JVM used to run it. So the idea was to move the Java classes to a new project dedicated to that scope and use it as dependency of KNet.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.