This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Eg where same method name for home and component intf ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Eg where same method name for home and component intf ?" Watch "Eg where same method name for home and component intf ?" New topic
Author

Eg where same method name for home and component intf ?

Timothy Toe
Ranch Hand

Joined: Oct 19, 2002
Posts: 156
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

Joined: Jun 20, 2003
Posts: 96
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


SCBCD, SCWCD, SCJP
Timothy Toe
Ranch Hand

Joined: Oct 19, 2002
Posts: 156
Shiang Wang, Thanks for the effort.
 
 
subject: Eg where same method name for home and component intf ?