• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

ejbFind in entity beans  RSS feed

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As kathy said, exam objectives are only regarding CMP . No BMP . There is a Q in ejbcertificate.com :
Q:Identify all correct requirements for an entity bean class?
1. The ejbPostCreate() must not be declared as final and static but must return the primary key.
2. Business methods defined in the entity bean class can start with the prefix 'ejb'.
3. The Container must specify a primary key class in the deployment descriptor.
4. The ejbFind method must have an ejbFind prefix, declared public and must throw FinderException.
5. The Container must define a query for each finder or select method except findByPrimaryKey(key).
Ans(according to author is 4) ...
(But since the exam doesnt contain BMP,) entity bean class(a CMP one) will not have to define(or even declare) ejbFind methods (Spec. page 191).
Or is there anything like bean class can optionally declare ejbFinds ? i do not think so .
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!