看你用什么服务器啦:
WEBLOGIC 查找数据源lookup(数据源名称);
JBOSS则是lookup(java:/数据源名称);
weblogic 查找remote 接口lookup(Remote接口)但是在new InitialContext(property对象);
jboss 查找remote 接口lookup(jnp://localhost:1099/Remote接口);
WEBLOGIC 查找数据源lookup(数据源名称);
JBOSS则是lookup(java:/数据源名称);
weblogic 查找remote 接口lookup(Remote接口)但是在new InitialContext(property对象);
jboss 查找remote 接口lookup(jnp://localhost:1099/Remote接口);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货