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

SELECT statement  RSS feed

 
sonali rao
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following is one of the bullet points mentioned of pg 420 of HF EJB book.
" A SELECT can return either an <abstract-schema-type> (which really means the bean's local component interface type), or a single-value field."
I did not understand why is it only a local component interface type and not a remote component interface type.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep, it looks like this should just be "component interface" and not "local component interface... it even says so back on page 408. Maybe they got confused with all the CMR stuff on that page, since CMR requires everything to be local. You should submit errata for this over on the HeadFirst EJB Errata Page on O'Reilly's website.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!