开发者

EJB 2 home interface

开发者 https://www.devze.com 2023-02-16 05:18 出处:网络
EJB5111 Bean class for ejb [{0}] does not define a method corresponding to [{1}] interface method [{2}]

EJB5111 Bean class for ejb [{0}] does not define a method corresponding to [{1}] interface method [{2}]

I got that error despite I ha开发者_运维问答ve the correct method in LocalHome and the bean class. The one in local home:

ProductLocal create(ProductDTO p) throws CreateException

The one in bean class:

public java.lang.Long ejbCreate(ProductDTO p) throws CreateException {
//retrieve data from database and let the setter create a new row
}

The project ran without crashing on the client. The data was transferred to the server, however, it cannot enter the create method.

I don't understand.

0

精彩评论

暂无评论...
验证码 换一张
取 消