在weblogic中,通过jndi查找home接口:
Properties p = new Properties();
p.put (Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
p.put(Context.PROVIDER_URL,"t3://localhost:7001");
Context ctx = new InitialContext(p);不知道楼主还有什么疑问?
Properties p = new Properties();
p.put (Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
p.put(Context.PROVIDER_URL,"t3://localhost:7001");
Context ctx = new InitialContext(p);不知道楼主还有什么疑问?
解决方案 »
- struts2文件上传路径的疑惑
- 高分!高手进!xfire报错:Not enough message parts were received for the operation!加分后重发
- Hibernate动态查询外连接问题
- 一个final类里面有个方法,这个方法返回这个类的一个对象,有什么用?
- 假如同时调用两个有状态session bean,这两个bean之间怎样能通信?
- RMI的问提,怎么问了这么久,可还是没人知道!!!
- 部署到Jboss下出了问题?(高分请教)
- 关于j2ee中显示中文的问题
- Jbuilder 上配置Jboss服务器的问题?
- 谁能给我解释一下这个强制转换
- 送分:关于JBuilder6.0组件属性中IconImage一项一直为none的求救
- JNDI对EJB的命名规则是怎样的啊?(急!!!)
但是楼主给的信息太少,多了也说不了。