This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes How to implement Home Method in Entity Bean? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "How to implement Home Method in Entity Bean?" Watch "How to implement Home Method in Entity Bean?" New topic
Author

How to implement Home Method in Entity Bean?

Gowher Naik
Ranch Hand

Joined: Feb 07, 2005
Posts: 643


Above is code for home interface and bean class
in Home i have home method getAllEmpNames
in bean i have ejbHomeGetAllEmployeeNames for getAllEmpNames
ejbHomeGetAllEmployeeNames uses ejbSelectGetAllEmpNames method.

First of all i want to know is i am using correct procedure or there is something missing.
Second why it throws error
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to implement Home Method in Entity Bean?
 
It's not a secret anymore!