Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

reference to Entity Bean

Marja Jackson
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic