Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java EE 综合讨论区  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 EJB如何调用server本地方法
yanger





发贴: 83
积分: 30
于 2003-03-18 13:24 user profilesend a private message to usersend email to yangersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我的设计(图)

请问:如何用EJB里面的实现方法进行server本地的(class)方法调用?

我的jar文件中有 TranService.class TranServiceEJB.class TranServiceHome.class

和 jar file同级的有一个war,war里面有WIN-INF/classes/helloworldEJB.class(这是个普通类)

现在,我的client可以调用到TranService.process(),process方法里面将调用helloworld.class 的getName(),请问如何实现?
现在的错误:
lookup
do post begin
SysLogger has been initialized.
=============begin===================
fcode=helloworldEJB
jaction.simple.HelloWorldEJB
MainProcess(getClassOfInvoke):找不到指明的类java.lang.ClassNotFoundException: ja
ction.simple.HelloWorldEJB
Exception(tranService):java.lang.Exception: ClassNotFoundException(getClassOfInv
oke):java.lang.ClassNotFoundException: jaction.simple.HelloWorldEJB




话题树型展开
人气 标题 作者 字数 发贴时间
13021 EJB如何调用server本地方法 yanger 696 2003-03-18 13:24
11067 0 yanger 9 2003-03-18 13:26
16001 Re:EJB如何调用server本地方法 jameszhang 11 2003-03-18 14:06
11448 Re:EJB如何调用server本地方法 yanger 17 2003-03-18 16:30
10652 Re:EJB如何调用server本地方法 whisperwind 13 2003-03-18 22:04
11267 Re:EJB如何调用server本地方法 yanger 82 2003-03-18 22:36
11133 Re:EJB如何调用server本地方法 yanger 6 2003-03-20 09:25
10476 Re:EJB如何调用server本地方法 sundayrain88 160 2003-03-24 11:58
11082 Re:EJB如何调用server本地方法 sundayrain88 800 2003-03-24 12:02
10614 Re:EJB如何调用server本地方法 yanger 12 2003-03-31 09:42

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923