Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCEEJBD
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
EJB Certification (OCEEJBD)
Eg where same method name for home and component intf ?
Timothy Toe
Ranch Hand
Posts: 156
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Component:
public interface Director extends EJBObject { . . /* get the current director's last name */ public String getLastName() throws RemoteException; . . }
Home:
public interface DirectorHome extends EJBHome { . . /* get all director's last name (no duplicate) */ public Set getLastName() throws FinderException, RemoteException; . . }
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
Posts: 156
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Shiang Wang, Thanks for the effort.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
difference between home and component interface
HFEJB - Page 582 / same method name in Home and Component interface
HFEJB Page 582
(HFE) Home Business Methods -- Getting ref to EJB Obj
"java:comp/env/" problem
More...