Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

SELECT statement

 
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.
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • 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.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic