File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Stateless Session Beans and Multiple clients