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!

Is EJB pooling related with flyweight pattern ?

843830Apr 29 2005 — edited Apr 29 2005
SCEA training exam from www.javaqueries.com says that
Bean pooling allows container to use beans as flyweight.

My opinion is that flyweight pattern allows to create an object (flyweight) with some common state. All other objects have references to the flyweight instead of having many copies of a common state.

Do you see any similiarity with EJB pooling ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 27 2005
Added on Apr 29 2005
2 comments
133 views