我在我的servlet.xml
中有一个条目,
xmlns:dwr="http://www.directwebremoting.org/schema/spring-dwr
现在,我认为dwr是我们将使用的前缀,就像这样:
<dwr:configuration>
<dwr:convert type="bean" class="com.abc.bean.MyBean" />
</dwr:configuration>
现在的问题是,如果网站http://www.directwebremoting.org宕机,那么我的应用程序将无法创建bean。
每次beanfactory创建bean时,它是否会访问这个网站?
有没有其他替代方案,可以在不访问他们的网站的情况下使用dwr?
完整标题:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:dwr="http://www.directwebremoting.org/schema/spring-dwr"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
http://www.directwebremoting.org/schema/spring-dwr
http://www.directwebremoting.org/schema/spring-dwr-2.0.xsd">