• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A question from the specs

 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
4.3.13 What does this mean? Serializing methoid calls?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
About callbacks, you could think that there may be threading issues for a callback called by many beans. But the container serializes method calls, meaning that method calls are queued. Nothing to do with the Serializable interface

It also says that if the same or different client uses the same stateful session bean, and that a business method is concurrently called, a ConcurrentAccessException may be thrown.
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Christophe Verre:
About callbacks, you could think that there may be threading issues for a callback called by many beans. But the container serializes method calls, meaning that method calls are queued. Nothing to do with the Serializable interface

It also says that if the same or different client uses the same stateful session bean, and that a business method is concurrently called, a ConcurrentAccessException may be thrown.


Can you please elaborate on this?
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When it talks about serializable, I think it just means the request are queued up, and are handled one at a time, rather than in a parallel or threaded manner. As was said, I don't think it is referring to Java object serialization, as pertains the Serializable interface.

-Cameron McKenzie
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it. Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic