• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

reference to Entity Bean

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
High,
I have a question about reference to enity bean from stateful session bean

In a stateful session bean I can have reference's to
A. Simple java Objects (POJO)
B. Stateless session beans
c. Entity Beans
D. other statefull session beans.

My question is about what reference's can be cached?
My understanding for the various options is this:
A. reference and state in POJO is cached.
B. reference can be cached; state is not cached of course
C. reference and state is cached? or do I have to execute a create
or finder method each time that I want to use the entity bean for
different calls in one session?
D. reference and state is cached.

Can somebody answer this question and say if this is correct?
greetings,
Marja
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic