Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

can we use EJB Remote business interface for both local call and remote call?  RSS feed

 
Kaleeswaran Karuppusamy
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i created local and remote business interface for my ejb ,the netbean id shows warning messsage which "when session bean has local as well as remote business interface there should not be common two both interface"

bz in both interface i am using same method..

how could avoid this else can we use remote interface to local ?

 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kaleeswaran Karuppasamy wrote:when i created local and remote business interface for my ejb ,the netbean id shows warning messsage which "when session bean has local as well as remote business interface there should not be common two both interface"


That's strange. Because the following case is perfectly valid:









 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!