首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

关于jboss 四 的JNDIVIew 名字空间

2014-06-11 
关于jboss 4 的JNDIVIew 名字空间?Jboss JNDI?http://docs.jboss.org/jbossas/docs/Server_Configuration_

关于jboss 4 的JNDIVIew 名字空间

?

Jboss JNDI

?

http://docs.jboss.org/jbossas/docs/Server_Configuration_Guide/4/html-single/index.html#Resource_Environment_References-ENC_resource_env_ref_access_code_fragment

?

There are three commonly used levels of naming scope inJBoss: names under java:comp, names under java:, andany other name. As discussed, the java:comp context and itssubcontexts are only available to the application component associated withthat particular context. Subcontexts and object bindings directly under java:are only visible within the JBoss server virtual machine and not to remoteclients. Any other context or object binding is available to remote clients, providedthe context or object supports serialization.

An example of where the restricting a binding to the java:context is useful would be a javax.sql.DataSource connectionfactory that can only be used inside of the JBoss server where the associateddatabase pool resides. On the other hand, an EJB home interface would be boundto a globally visible name that should accessible by remote client.

热点排行