MASES.JNet.Templates 1.4.15

dotnet new install MASES.JNet.Templates::1.4.15
This package contains a .NET Template Package you can call from the shell/command line.

JNet: .NET gateway for JVM APIs

CI_BUILD CodeQL CI_RELEASE

JNet JNet.Templates JNetCLI<br>(version 1.4.8+) JNetReflector<br>(version 1.4.8+) JNetPSCore<br>(version 1.4.9+) JNetPS<br>(version 1.4.9+)
JNet nuget downloads JNet.Templates nuget downloads JNetCLI nuget downloads JNetReflector nuget downloads JNetPSCore nuget downloads JNetPS

JNet is a .NET gateway for JVM APIs (Java, Scala, Kotlin, ...) to use .NET and JVM side-by-side.

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to coc_reporting@masesgroup.com.

Scope of the project

This project aims to create a library to direct access, from .NET, all the features available in the Java Platform, this is the counterpart of JCOReflector.

There are many client libraries written to manage communication with Java. Conversely, this project use directly the Java packages giving more than one benefit:

  • all implemented features are availables at no extra implementation costs, see JNet usage;
  • avoids any third party communication protocol implementation;
  • access all features made available from Java platform.

News

  • V1.4.8+: From version 1.4.8 there is a new project, named JNetReflector (still in development phase), able to build C# gateway classes from JARs containing the JVM classes, exactly the same JCOReflector does for .NET in JVM.
  • V1.4.9+: From version 1.4.9 there are two new projects:
    • JNetPSCore: the core library for PowerShell development, it can be extended in other projects based on JNet;
    • JNetPS: a PowerShell module to use JNet within a PowerShell shell.

Runtime engine

JNet uses JCOBridge, and its features, to obtain many benefits:

  • Cyber-security:
    • JVM and CLR, or CoreCLR, runs in the same process, but are insulated from each other;
    • JCOBridge does not make any code injection into JVM;
    • JCOBridge does not use any other communication mechanism than JNI;
    • .NET (CLR) inherently inherits the cyber-security levels of running JVM;
  • Direct access the JVM from any .NET application:
    • Any Java/Scala/Kotlin/... class can be directly managed;
    • No need to learn new APIs: we try to expose the same APIs in C# style;
    • No extra validation cycle on protocol and functionality: bug fix, improvements, new features are immediately available;
    • Documentation is shared;
  • Dynamic code: it helps to write a Java/Scala/Kotlin/etc seamless language code directly inside a standard .NET application written in C#/VB.NET: look at this simple example and JNet APIs extensibility.

Have a look at the following resources:


Summary


  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.6.2

    • No dependencies.
  • net6.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.4.15 81 11/21/2022
1.4.14 87 11/9/2022
1.4.13 69 11/9/2022
1.4.12 121 10/30/2022
1.4.11 108 10/27/2022
1.4.8 158 10/20/2022
1.4.7 155 10/13/2022
1.4.6 230 8/18/2022
1.4.5 185 8/5/2022
1.4.4 259 6/19/2022
1.4.3 208 5/19/2022
1.4.2 182 5/7/2022
1.4.1 193 4/29/2022
1.4.0 220 4/13/2022
1.3.0 206 3/28/2022
1.2.0 173 3/25/2022
1.1.1 166 3/19/2022
1.1.0 167 3/19/2022
1.0.0 172 3/19/2022