将cc_dzswpag.*的class按照原有的目录结构放在你所在webapp的webinfo/classes目录下
jsp中使用类似于以下的语句:
Object objref = ctx.lookup(<ur ejbjndi name>);
TESTHome thome = (TESTHome)PortableRemoteObject.narrow(objref,TESTHome.class);
TEST t = thome.create();
使用t调用ejb远程接口方法即可
jsp中使用类似于以下的语句:
Object objref = ctx.lookup(<ur ejbjndi name>);
TESTHome thome = (TESTHome)PortableRemoteObject.narrow(objref,TESTHome.class);
TEST t = thome.create();
使用t调用ejb远程接口方法即可
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货