• Post Reply Bookmark Topic Watch Topic
  • New Topic

@Remote and @Local in same interface  RSS feed

 
Sreedevi Vinod
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

I tried using both @Remote and @Local annotations in the same business interface, but the bean deployment failed in JBoss. Is this not allowed? Do I need to have 2 copies of the same interface if I need to have local view as well as remote view?

Thanks,
Devi
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The EJB3 spec does not allow you to specify @Local and @Remote for the same interface. Have a look at EJB3 - Separate local and remote interfaces needed?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!