EJB3.0 Serializing a handle to a Stateful Bean

前端 未结 2 1379
后悔当初
后悔当初 2021-01-27 03:24

I\'m attempting to persist the remote handle to a Stateful EJB3.0 bean. This bean\'s interface is defined:

@Remote
public interface Hello extends Serializable {
         


        
2条回答
  •  半阙折子戏
    2021-01-27 03:41

    getEJBObject is not usable with the EJB 3.0 programming model. You'll need to use @RemoteHome and implement EJBHome/EJBObject.

提交回复
热议问题