[jboss-dev] Oops, javax.naming.spi.* is dependent on Hashtable , this will make it difficult to change the JBoss jndi naming service to use ConcurrentHashMap instead of Hashtable...

Steve Ebersole steve at hibernate.org
Thu Jul 12 13:27:46 EDT 2007


On Thursday 12 July 2007 12:19:28 pm Mark Little wrote:
> 
> On 12 Jul 2007, at 18:13, Steve Ebersole wrote:
> 
> > Does JTA/JTS mandate that a UserTransaction reference obtained and  
> > held indefinitely understand the context in which calls against it  
> > are invoked?  And that it react accordingly?
> 
> JTS knows nothing about UserTransaction. The closest equivalent is  
> OTS::Current.
> 
> UserTransaction works on the thread-to-transaction association. Some  
> implementations I've seen give out a thread specific instance of  
> UserTransaction. But the common implementation is one instance that  
> does the multiplexing behind the scenes, so you can share the same  
> instance between multiple threads.

Ok, words here like "some" and "common" make me nervous ;)



More information about the jboss-development mailing list