MASES.JNet.Templates 1.4.12

There is a newer version of this package available.
See the version list below for details.
dotnet new install MASES.JNet.Templates::1.4.12
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
2.4.0 628 2/29/2024
2.3.0 466 2/20/2024
2.2.5 725 1/30/2024
2.2.4 248 1/27/2024
2.2.3 325 1/24/2024
2.2.2 238 1/24/2024
2.2.1 380 1/20/2024
2.2.0 331 1/17/2024
2.1.1 1,194 12/18/2023
2.1.0 966 11/25/2023
2.0.2 1,394 10/18/2023
2.0.1 686 7/11/2023
2.0.0 515 7/5/2023
1.5.5 750 5/5/2023
1.5.4 742 4/16/2023
1.5.3 574 4/10/2023
1.5.2 746 3/13/2023
1.5.1 776 2/9/2023
1.5.0 566 2/8/2023
1.4.15 799 11/21/2022
1.4.14 699 11/9/2022
1.4.13 791 11/9/2022
1.4.12 842 10/30/2022
1.4.11 856 10/27/2022
1.4.8 893 10/20/2022
1.4.7 881 10/13/2022
1.4.6 953 8/18/2022
1.4.5 888 8/5/2022
1.4.4 953 6/19/2022
1.4.3 885 5/19/2022
1.4.2 902 5/7/2022
1.4.1 850 4/29/2022
1.4.0 852 4/13/2022
1.3.0 896 3/28/2022
1.2.0 884 3/25/2022
1.1.1 855 3/19/2022
1.1.0 900 3/19/2022
1.0.0 932 3/19/2022