EJB中的参数和返回值类型必须是原始类型.seralizable(序列化)类型或者Remote类型!
解决方案 »
- 进行dom4j解析读取文件,如下
- hibernate的hql如何关闭多态查询
- java中Calendar类的add方法?
- 为什么我的Tomcat占有了600M内存,是因为程序使用了缓存吗?任务管理器里面怎么会有两个Apache.exe进程?
- 为什么我的一对多的父类总是不能更新呢??
- ★★★ 网站开通,600分赠送!(分六次)★★★
- 开源项目的框架研究
- EJB中实体Bean与数据库无关的疑问???
- JBoss配置后,为什么8083端总是该页无法显示
- 关于在session bean中调用entity bean的问题
- 求救 我安装配置好j2ee 运行j2ee -verbose 显示“c:/program”不是内部或外部命令也不是可执行程序或批处理文件
- static的用法?
另外,调用的代码放在JSP里是成功的,所以不是类型和参数的问题。
好像是配置或者EJB调用EJB有什么说法的问题。
两个ejb是不是在一个ear中啊?
就是ejb调用ejb的问题,其它原因都排除了,网上有好多人碰到,但都没解决。求
A MarshalException is thrown if a java.io.IOException occurs while marshalling the remote call header, arguments or return value for a remote method call. A MarshalException is also thrown if the receiver does not support the protocol version of the sender. If a MarshalException occurs during a remote method call, the call may or may not have reached the server. If the call did reach the server, parameters may have been deserialized. A call may not be retransmitted after a MarshalException and reliably preserve "at most once" call semantics.
你后来用EJB调EJB当然是不同的JVM如果是这样的话那是因为本地接口的调用不需要将对象序列化的
所以JSP调EJB时不会出错不知道我说的对不对