Originally posted by sandeep vaid:
As Ejb Specs says that we can not have the sycronized code inside the ejb so how come we are able to call the vector/Hashtable's functions inside the EJB's They contains all syncronized code inside them. How is possible if it is against the spacifications of EJB.
I'm guessing that each EJB runs in its own
thread and that the code (in the Container) that calls the ejbXXX() methods on the bean is itself running in a synchonized block of some sort.
-jeff