Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/340.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 我可以把osgi.enterprise.jar放在equinox插件文件夹中吗?_Java_Jdbc_Osgi_Enterprise_Equinox - Fatal编程技术网

Java 我可以把osgi.enterprise.jar放在equinox插件文件夹中吗?

Java 我可以把osgi.enterprise.jar放在equinox插件文件夹中吗?,java,jdbc,osgi,enterprise,equinox,Java,Jdbc,Osgi,Enterprise,Equinox,我对OSGi企业规范感兴趣。目前我只对JDBC连接感兴趣,但这可能会改变 在这里,我可以找到osgi.enterprise.jar(附带的代码链接)。我可以把它安装在我的equinox容器中并使用它吗 我觉得有些类是重叠的(例如org.osgi.service.component),这不会导致问题吗?或者我应该卸载org.eclipse.osgi.services捆绑包,改用osgi.enterprise吗?不,你不能这么做。 来自OSGI.org的文件主要是接口,它不是完整的实现。不。你不能这

我对OSGi企业规范感兴趣。目前我只对JDBC连接感兴趣,但这可能会改变

在这里,我可以找到osgi.enterprise.jar(附带的代码链接)。我可以把它安装在我的equinox容器中并使用它吗

我觉得有些类是重叠的(例如org.osgi.service.component),这不会导致问题吗?或者我应该卸载org.eclipse.osgi.services捆绑包,改用osgi.enterprise吗?

不,你不能这么做。 来自OSGI.org的文件主要是接口,它不是完整的实现。

不。你不能这样做。 来自OSGI.org的文件主要是接口,它不是完整的实现。

J-16 SDiZ的回答是正确的,因为
OSGI.enterprise.jar
是纯接口而不是实现

您还询问了与
org.eclipse.osgi.services
bundle的重叠……事实上,osgi企业JAR应该是它的严格超集。安装这两个bundle没有什么问题,但也不是真的需要,因此为了尽量减少混淆,我可能会删除
org.eclipse.osgi.services

“J-16 SDiZ”的答案是正确的,因为
osgi.enterprise.jar
是纯接口而不是实现

您还询问了与
org.eclipse.osgi.services
bundle的重叠……事实上,osgi企业JAR应该是它的严格超集。安装这两个bundle并没有什么问题,但也不是真的需要,所以为了尽量减少混淆,我可能会删除
org.eclipse.osgi.services