Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Local annotation interfaces

 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

I have the following EJB defined:



In my Local annotation, I specify the interfaces. But in reality, the AccountService is a super interface of AccountManager. Do I need to have the AccountService as well in my implements clause? I think it is superflous. But what does the EJB spec says?
 
Lucas Smith
Ranch Hand
Posts: 808
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ideally, you should use EJB only via its interfaces. I think that AccountManager is sufficient.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic