Win a copy of Spring Boot in Practice this week in the Spring forum!

Ven Muk

Greenhorn
+ Follow
since Aug 13, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ven Muk

I learning ejb, im not sure about my answer

I would think sesisonbean are single threaded and entity beans are multithreaded.

For SessionBeans, there will be several session bean instances in the pool and each will fullfill the request for each client business method call.
After fullfilling the request of the client, the bean goes back to the pool.
Since each bean is for each client, it is single threaded.

But for Entity bean, each bean can handle multiple request from the client, so it is multithreaded.

Is it correct?