Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eg where same method name for home and component intf ?

 
Timothy Toe
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For those with the book, HF-EJB page 582

Can anyone give me an example of such a case ? Where� you have same method name for BOTH home and component interface ?

Thanks.
 
Shiang Wang
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Component:


Home:


I am just trying to create a case that fits in the scenario you describe. Of course, you will be better off naming it in a self-explanatory way, such as getAllLastName() in the home.

Thanks
Shiang
 
Timothy Toe
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shiang Wang, Thanks for the effort.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic