正在加载图片...
guokenua(@yahoo.com.cn Oy JC 客户端实现 Properties pt=new Properties( pt. put(Context. INITIAL CONTEXT FACTORY, " weblo gic jndi. WLInitialContextFactory") pt. put( Context PROVIDER URL, t3: //127.0.0.1: 7001) 1010 pt. put(Context. SECURITY PRINCIPAL, system") pt. put( Context. SECURITY CREDENTIALS, passwd"; Context ic =new InitialContext(pt) Object obj=ic lookup("BMPBean remote") BMPRemoteHome gsh (BMPRemote Home) PortableRemoteObject narrow(obj, B MPRemoteHome.class) BMPRemote qs= qsh. findBy Primary Key(参数) qs. setXXX 郭克华J2EE框架实战教学视频oy Java! J guokehua@yahoo.com.cn 郭克华J2EE框架实战教学视频 客户端实现 Properties pt = new Properties(); pt.put(Context.INITIAL_CONTEXT_FACTORY,"weblo gic.jndi.WLInitialContextFactory"); pt.put(Context.PROVIDER_URL,"t3://127.0.0.1:7001"); pt.put(Context.SECURITY_PRINCIPAL,"system"); pt.put(Context.SECURITY_CREDENTIALS,“passwd"); Context ic = new InitialContext(pt); Object obj = ic.lookup(“BMPBeanRemote”); BMPRemoteHome qsh = (BMPRemoteHome)PortableRemoteObject.narrow(obj,B MPRemoteHome.class); BMPRemote qs = qsh.findByPrimaryKey(参数); qs.setXXX
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有