Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

return type from abstract schema type

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I write a EJB-QL like this:
SELECT OBJECT (m) FROM MovieSchema m,
then a component interface will be returned.
On P408 "As if by magic, the Container knows which interface view to return, local or remote, depending on whether the invocation of the query came from a home or remote interface"
Anybody can explain if the query came from home, which one, local or remote, will be returned. Or why does this depend on home interface ?
Thanks
 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If this method called from home interface, then it can only return remote component interface, if called from local home interface, then it can only return local component interface
 
reply
    Bookmark Topic Watch Topic
  • New Topic