-
performace problem in stateless session bean (3 messages)
- Posted by: Senthil Balakrishnan
- Posted on: November 25 2003 00:56 EST
Hi folks,wat are the performance issues rises if we have stateful session bean instead of a stateless session bean.Threaded Messages (3)
- performace problem in stateless session bean by cnzeng zheng on November 25 2003 04:29 EST
- Thanx....it was crystal clear...... by Senthil Balakrishnan on November 25 2003 09:09 EST
- Thanx....it was crystal clear...... by Race Condition on November 25 2003 05:29 EST
- Thanx....it was crystal clear...... by Senthil Balakrishnan on November 25 2003 09:09 EST
-
performace problem in stateless session bean[ Go to top ]
- Posted by: cnzeng zheng
- Posted on: November 25 2003 04:29 EST
- in response to Senthil Balakrishnan
The main difference between stateless and stateful ,simply to say,is that all stateless bean is same but stateful is distinct with each other(contain client's information).
One of most significant method to improve performance ,is using instance pool.That means ,if there is ten client,the server need not create ten instance to handle,maybe only one.As metioned above ,all the stateless is same,when a client's request is arrived,the server can random select a 'idle' bean to handle if bean is stateless.When comes to stateful bean ,the server first store 'info' of the certain bean,then may restore the client's previews info. -
Thanx....it was crystal clear......[ Go to top ]
- Posted by: Senthil Balakrishnan
- Posted on: November 25 2003 09:09 EST
- in response to cnzeng zheng
Thanx....it was crystal clear...... -
Thanx....it was crystal clear......[ Go to top ]
- Posted by: Race Condition
- Posted on: November 25 2003 17:29 EST
- in response to Senthil Balakrishnan
cnzeng zheng is wise.