不同J2EE容器JNDI访问参数设置
来源:互联网 发布:母鸡自己能下蛋吗 知乎 编辑:程序博客网 时间:2024/04/29 03:29
JBOSS:Properties props = new Properties();props.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");props.setProperty("java.naming.provider.url", "localhost:1099");props.setProperty("java.naming.factory.url.pkgs","org.jboss.naming");websphere: Properties props = new Properties();props.setProperty("java.naming.factory.initial","org.openejb.client.RemoteInitialContextFactory");props.setProperty("java.naming.provider.url", "localhost:4201");Weblogic:Properties props = new Properties();props.setProperty("java.naming.factory.initial", "weblogic.jndi.WLInitialContextFactory");props.setProperty("java.naming.provider.url", "t3://localhost:7001");Context ctx = new InitialContext(props);HelloWorldRemote helloworld = (HelloWorldRemote) ctx.lookup("HelloWorldBean/remote");引用http://hi.baidu.com/winlei/blog/item/90e5a6f0f41d22c47931aaba.html
- 不同J2EE容器JNDI访问参数设置
- 不同J2EE容器JNDI访问参数设置
- JNDI访问参数设置(根据J2EE容器的不同而不同)
- J2EE容器,EJB、JNDI概念扫盲
- JNDI参数设置
- J2EE--JNDI
- 外部访问JNDI容器内的JDBC数据源
- JNDI学习(j2ee)
- J2EE之JNDI
- J2EE总结--浅识JNDI
- J2EE规范总结--JNDI
- J2EE——JNDI
- J2EE——JNDI
- J2EE之JNDI
- J2EE中的JNDI
- 【J2EE规范】什么是JNDI
- 什么是j2ee的jndi?
- JNDI 笔记(二) J2EE下使用JNDI
- 读Kernel感悟-Linux内核启动-开启页面映射
- Encyclopedia of Algorithms
- 企业信息化怎样破冰(四)
- Simply Rails 2 [ILLUSTRATED]
- rman异地和本地备份---ORA-19504
- 不同J2EE容器JNDI访问参数设置
- The Real MCTS/MCITP Exam 70-640 Prep Kit: Independent and Complete Self-Paced Solutions
- 我的嵌入式Linux学习之路
- The Real MCTS/MCITP Exam 70-648 Prep Kit: Independent and Complete Self-Paced Solutions
- 国际:程序员,如何从多个工作机会中做出选择?
- Nmap in the Enterprise: Your Guide to Network Scanning
- WCF简易教程
- Linux内核中EXPORT_SYMBOL的用法
- The Real MCTS/MCITP Exam 70-642 Prep Kit: Independent and Complete Self-Paced Solutions