Hi all jboss expert.
l want to implement a cached service locator to cache all home handle and datasource looked up by JNDI. It is highly appreciated that the insider of jboss developer community can let me know whether the home handle and datasource implementation of jboss is thread-safe or not. For detail of this pattern, one can ref http://www.theserverside.com/discussion/thread.jsp?thread_id=14992
The home proxy processes each request using
a new "Invocation" object. This is passed as an
argument through the invocation stack.
Different threads will use different invocation objects.
A DataSource is a factory for connections from
a pool, which is of course thread safe.