This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Local annotation interfaces

 
Joe Harry
Ranch Hand
Posts: 10106
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