Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Concurrency vs serialization

 
Nandhini Sridharan
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Frits notes,

In 2.1.6 Concurrency, The container serializes calls to each stateful and stateless session bean instance


Is it not the container serializes the method calls (parameters and return types) only with remote calls as these are transferred using "Pass by value"?

Also, I would like to know what is serialized sequence of method calls?
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2536
113
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The word "serialize" used here (and in the official EJB specs) means consecutive, sequent, sequential. It has nothing to do with object serialization.
 
Nandhini Sridharan
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Frits
 
Himai Minh
Ranch Hand
Posts: 1361
7
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That means the container assign each request to each stateless/stateful bean. The container can execute the multiple beans at the same time.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic