• 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
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

reference's from Stateful Sessionn Beans

 
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
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Marja,

I am confused about "cached",

if cached means sotored in the process of passivation (serialization)...

you can read the page 71 of the specification,

the remote and local interfaces references

are automatically sotored.
 
The problems of the world fade way as you eat a piece of pie. This tiny ad has never known problems:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic