my dog learned polymorphism
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
Register / Login


JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Reply 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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Eg where same method name for home and component intf ?
 
Similar Threads
(HFE) Home Business Methods -- Getting ref to EJB Obj
HFEJB - Page 582 / same method name in Home and Component interface
"java:comp/env/" problem
HFEJB Page 582
difference between home and component interface