wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Stateless Session Beans and Multiple clients Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Stateless Session Beans and Multiple clients" Watch "Stateless Session Beans and Multiple clients" New topic
Author

Stateless Session Beans and Multiple clients

Prakash Dwivedi
Ranch Hand

Joined: Sep 28, 2002
Posts: 452
Hi,
When a statless session bean handles multiple clients, thats is multiple clients trying to invoke same method on a same session bean, than does the server dispatches request one by one or simultaneously?

thanks


Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
Damanjit Kaur
Ranch Hand

Joined: Oct 18, 2004
Posts: 346
simultaneously using different instances of same session bean as the state is not maintained between diff. method calls of a stateless session bean.
Gabriel Buheler
Ranch Hand

Joined: Apr 21, 2004
Posts: 39
That's exactly right!

Actually is one of the advantage of stateless over stateful, they are more scalable.

 
Consider Paul's rocket mass heater.
 
subject: Stateless Session Beans and Multiple clients
 
Similar Threads
EJB and games
Stateless Session Bean access by multiple clients
HFEjb : Q on Architectural Overview
7.11.8 Non-reentrant instances
Entity bean instance accessible to multiple client