Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ejb quetion  RSS feed

 
jeffrey z. lee
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
since the EJBObject, EJBHome, EntityBean and SessionBean are interface, why do we not implement all the methods within the interface when we code them?
 
Rufus BugleWeed
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because this branch of J2EE is a component model. The interfaces set up the rules of the model.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!