on 02-24-2007 9:01 AM
hi,
1.i have a state less session bean in WAS. if 10 client calls the bean how many bean objects will be created by the server .
2.i have a state full session bean in WAS. if 10 client calls the bean how many bean objects will be created by the server .
regards
Guru
Hai Guru,
This may help you
http://www.theserverside.com/discussions/thread.tss?thread_id=36853
regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Guru,
1.i have a state less session bean in WAS. if 10 client calls the bean how many bean objects will be created by the server
A. In Stateless Session Bean a pool of beans is created and that will serve the client's calls. if the client has made 10 calls then only 1 bean object will be created which will be shared among all the clients calls.
2.i have a state full session bean in WAS. if 10 client calls the bean how many bean objects will be created by the server .
A. In Stateless Session Bean for every client call a seperate bean object is created.i.e. for every client call a unique bean instance is created.
In your scenario 10 bean objects are created for 10 client calls.
Hope i have given you desired answer.
regards
Anil Dichpally
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.