aries

Does OSGI JNDI allow coexistence with JNDI calls from non-OSGI code?

无人久伴 提交于 2019-12-03 11:47:09
问题 Chapter 126 of the OSGI Enterprise Release 5 specification mentions compatibility: "Support the traditional JNDI programming model used by Java SE and Java EE clients." and use of OSGI-unaware code: "Clients and JNDI Context providers that are unaware of OSGi use static methods to connect to the JRE JNDI implementation. The InitialContext class provides access to a Context from a provider and providers use the static NamingManager methods to do object conversion and find URL Contexts. This