1. Can we make Session Bean Persistent. What I mean is we make a database connection and fetch the records.
2. Why does pooling concept not applies to Session Bean?
Originally posted by Soman Singh:
1. Can we make Session Bean Persistent. What I mean is we make a database connection and fetch the records.
Originally posted by Soman Singh:
2. Why does pooling concept not applies to Session Bean?
"When work, commitment and pleasure all become one and you reach that deep well where passion lives, nothing is impossible."
It is technically possible to pool instances of Stateful Session Beans but
it doesn't make much sense and the context switch would kill performance.
In case we have instance pooling with Stateful Session Bean, will the memory be in trouble.
The number of bean instances we make shal be swapped out on disk when not in use and that holds true for every Bean.
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Originally posted by Soman Singh:
Hi again,
What are the methods of JTA?
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Basically yes. The difference between pooling or not pooling would mean that the container has to doYour steps 2, 3 and 5 are passivate and activate, no? And yes, they sound expensive!
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Happily living in the valley of the dried frogs with a few tiny ads.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|