Hi all jboss guru
It is very thankful one can share with me your viewpoints on my below question.
l plan to write a cached service locator which provide a standard interface for ejb app lookup ejb home handle / datasource. This service locator can cache ejb home handle / datasource and return the cached instance back to caller. But l am concerned how does the ejb home handle and XADataSourceImpl deal with multiple concurrent calls arriving at the same moment. Are the implementation of these class thread-safe ? Are the multiple concurrent calls handled in serialized / parallel manner ?
thx & regards
fox
ejbs calls are completely thread safe per ejb spec. datasources are thread safe modulo bugs of which there were several in 2.4 before 2.4.8. (Of course, now there may be new ones).