Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/317.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/2/spring/14.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 为什么春天没有';默认情况下,是否不使用JNDI注册和查找bean?_Java_Spring_Jndi - Fatal编程技术网

Java 为什么春天没有';默认情况下,是否不使用JNDI注册和查找bean?

Java 为什么春天没有';默认情况下,是否不使用JNDI注册和查找bean?,java,spring,jndi,Java,Spring,Jndi,在spring的文档中,它显示了其bean管理的默认方式是使用DefaultListableBeanFactory.class,它将bean注册到本地列表集合中。为什么不使用JNDI?为什么要使用JNDI?那么它将取决于提供的JNDI实现。

在spring的文档中,它显示了其bean管理的默认方式是使用
DefaultListableBeanFactory.class
,它将bean注册到本地列表集合中。为什么不使用JNDI?

为什么要使用JNDI?那么它将取决于提供的JNDI实现。