Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ejb question  RSS feed

 
Timber Lee
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which one of the following is NOT true about the finder methods of a local home interface for a BMP entity bean?
Choice 1
Finder methods must be declared public.
Choice 2
Finder methods must throw ObjectNotFoundException.
Choice 3
Finder method names must start with the prefix "find."
Choice 4
The entity bean can declare only one findByPrimaryKey method.
Choice 5
Finder methods must return an EJBLocalObject or a collection thereof.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!