What is the JNP protocol?

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

All I could find was this forum, β€œWhat is JNP,” in which the question was not answered.

+8
java jnp
source share
1 answer

In short, JNP is the official implementation of the JNDI JBoss AS naming convention as long as its version is <7.x, based on the JNP project (see repo code url ).

From the new AS7 documentation :

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

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

+8
source share

All Articles