调用部署在websphere上的EJB
来源:互联网 发布:电脑软件没了 编辑:程序博客网 时间:2024/04/30 05:19
public static void main(String[] args) {String naming_factory = "com.sun.jndi.cosnaming.CNCtxFactory";String namespace_address = "iiop://localhost:2809";String home_address = "nodes/IT-chenanshengNode01/servers/server1/com/mangocity/pay/creditcard/interfaces/ICBCEpos";Hashtableenvironment = new Hashtable ();environment.put(Context.INITIAL_CONTEXT_FACTORY, naming_factory);environment.put(Context.PROVIDER_URL, namespace_address);try {Context ctx = new InitialContext(environment);Object obj = ctx.lookup(home_address);ICBCEposHome icbcEposHome = (ICBCEposHome) PortableRemoteObject.narrow(obj, ICBCEposHome.class);ICBCEpos icbcEpos = icbcEposHome.create();System.out.println(icbcEpos.authenticate("", "", "", "", ""));} catch (Exception e) {e.printStackTrace();}}
- 调用部署在websphere上的EJB
- 如何调用部署在其他服务器上的EJB?
- 如何调用部署在其他服务器上的EJB?
- Struts2部署在Websphere上的问题
- 部署在WildFly上的EJB客户端,调用另一个WildFly上的EJB服务的过程详解
- WebSphere集群中调用EJB的方法
- jstl 在tomcat5以及webSphere上的部署
- 在websphere上部署应用遇到的问题
- 在MyEclipse中调试部署到Websphere上的程序
- SPING框架部署在websphere上碰到的问题
- 在Websphere上调用EJB2的远程接口
- 在Websphere中开发Ejb需要注意的环节(1)
- 在Myeclipse如何部署Websphere的项目?
- SuperMap iServer 7C(2015) war包在Linux上的WebSphere 部署
- 如何在Websphere V5.1上部署企业级应用程序
- 如何在Websphere V5.1上部署企业级应用程序
- 在JBoss下部署ejb的问题
- 在Websphere上,使用axis做成的客户端调用Webservice需要进行的配置
- ASP.net中的Forms认证方式
- Collection,Map,HashMap,hashTable,TreeMap,List,Vector,ArrayList的区别
- 开发人员要有激情!~
- 英语介词短语的句法功能
- Linux环境下启动Oracle监听服务
- 调用部署在websphere上的EJB
- GridView 选中CheckBox 删除记录的问题
- Delphi在Image中响应键盘事件
- Matlab与VC混合编程
- ative2ascii工具完全揭密
- 使用COM(using COM) -翻译
- Problem 14 - Find the longest sequence using a starting number under one million.
- C++学习心得
- B/S和C/S模式比较