Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Stateful vs. stateless session bean

843833Apr 20 2003 — edited Apr 23 2003
Hi,

I am following the pattern of accessing entity beans with a session bean wrapper. I am just wondering if it's more efficient to make it a stateful session bean by keeping references to the home interfaces or make it stateless and do a lookup every time the session bean is created/activated?
I suppose the number of entity beans I want to access might make a difference. If so, is there a rough number when one way becomes better than the other?
Thanks for any help in advance.

Jeff
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 21 2003
Added on Apr 20 2003
3 comments
329 views