如果你用默认类名也行,但我喜欢远程接口中不加Remote,而local接口中加local,而JB正好相反,它是这样的。
Bean class: com.fuck.axamn.AccountBean
Home interface class: com.fuck.axamn.AccountRemoteHome
local Home interface class: com.fuck.axamn.AccountHome
Remote interface calss: com.fuck.axamn.AccountRemote
Local interface calss: com.fuck.axamn.Account
而本例中我是这样命名的:
Bean class: com.fuck.axamn.AccountBean
Home interface class: com.fuck.axamn.AccountHome
local Home interface class: com.fuck.axamn.AccountLocalHome
Remote interface calss: com.fuck.axamn.Account
Local interface calss: com.fuck.axamn.AccountLocal
文章来源于领测软件测试网 https://www.ltesting.net/