什么是“JNP”协议? [英] What is the "JNP" protocol?

查看:1500
本文介绍了什么是“JNP”协议?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在阅读HornetQ时,我看到了 jnp:// localhost:1099 / 等网址。什么是 jnp 协议?它代表什么?规格在哪里?

I see URLs like jnp://localhost:1099/ mentioned when reading about HornetQ. What is the jnp protocol? What does it stand for? Where is the specification?

我所能找到的只是这个论坛帖子,什么是JNP,其中的问题没有得到解答。

All I could find was this forum thread, "What is JNP", in which the question does not get answered.

推荐答案

简而言之, JNP 是JBoss AS在其版本之前的官方JNDI命名实现< 7.x,基于JNP项目(参见代码回购URL )。

In short, JNP is the official JNDI naming implementation of JBoss AS prior to its version < 7.x, based on the JNP project (refer to the code repo URL).

来自新的AS7文档


以前版本的JBoss AS(版本< 7.x)使用​​JNP项目
http://anonsvn.jboss.org/repos/jbossas/projects/naming/ )作为JNDI
命名实现。以前
版本的JBoss AS客户端应用程序的开发人员将熟悉他们在应用程序中用于与JBoss服务器上的JNDI
服务器通信的jnp:// PROVIDER_URL URL
。从AS7开始,不使用JNP项目。
既不在服务器端也不在客户端。
的客户端JNP项目现已被jboss-remote-naming项目取代
https://github.com/jbossas/jboss-remote-naming )。为什么JNP客户端被jboss-remote-naming
项目取代有各种
的原因。其中之一是JNP项目在与JNDI服务器通信时不允许细粒度的
安全配置。
jboss-remote-naming项目由jboss-remoting项目支持
https://github.com/jboss-remoting/jboss-remoting )允许更多
更多,更好地控制安全性。

Previous versions of JBoss AS (versions < 7.x) used JNP project (http://anonsvn.jboss.org/repos/jbossas/projects/naming/) as the JNDI naming implementation. Developers of client applications of previous versions of JBoss AS will be familiar with the jnp:// PROVIDER_URL URL they used to use in their applications for communicating with the JNDI server on the JBoss server. Starting AS7, the JNP project is not used. Neither on the server side nor on the client side. The client side of the JNP project has now been replaced by jboss-remote-naming project (https://github.com/jbossas/jboss-remote-naming). There were various reasons why the JNP client was replaced by jboss-remote-naming project. One of them was the JNP project did not allow fine grained security configurations while communicating with the JNDI server. The jboss-remote-naming project is backed by the jboss-remoting project (https://github.com/jboss-remoting/jboss-remoting) which allows much more and better control over security.

它的规格很差,我们发现的大多数参考文献都位于版本7之前的JBoss文档中,就像在 https://docs.jboss.org/jbossas/jboss4guide/r1/html/ch3.chapter.html

Its specification is poor, most of the references we find about it are located at JBoss docs prior to the version 7, like in https://docs.jboss.org/jbossas/jboss4guide/r1/html/ch3.chapter.html

这篇关于什么是“JNP”协议?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆