gpt4 book ai didi

c# - 通过.net访问openfire Java API?

转载 作者:太空宇宙 更新时间:2023-11-04 07:25:12 24 4
gpt4 key购买 nike

我希望通过 .net/asp.net 访问 openfire Java API,这样我基本上就可以在 asp.net Web 应用程序中连接 openfire 及其插件。

我想知道通过 .net 访问 Java API 的最佳方法是什么,或者是否有人知道通过 asp.net 使用 openfire 的另一种方法。我知道使用锐化进行转换会花费很长时间,而且可能不值得。

在我看来,有关此主题的任何信息都是好信息。谢谢。

最佳答案

有几种可用的解决方案:

  1. IKVM.NET

IKVM.NET is an implementation of Java for Mono and the Microsoft .NET Framework. It includes the following components:

  • A Java Virtual Machine implemented in .NET
  • A .NET implementation of the Java class libraries
  • Tools that enable Java and .NET interoperability
  1. jni4net

Bridge between Java and .NET (intraprocess, fast, object oriented, open-source)

关于c# - 通过.net访问openfire Java API?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18649863/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com