It's really embarrassed, last and colleagues discussed Hibernate a background operation bean problem, said a lot, the last colleague said, first study Threadlocal again ..... I am busy google, the search is a lot, "Threadlocal is What? In fact, Threadlocal is not a remote version of a thread. It is not a Thread, but thread local variable (thread local variable) ........ ", actually heard that Juji .. ....
I haven't understood it now, I will send a few links first, and everyone is studying, discussing discussion .......
Threadlocal design and use
Easy to use thread: Do not share sometimes it is the best --- uses Threadlocal to increase scalability