Hi Dan!
> My thread has the same service bean that is in the main thread has, so I
> guess both thread sharing
> the same Persentent Context.
>
> Now I need to figure out how to Create my Persitent Context in the child
> thread which a little 
> disappointed.  My goal is to use the same service bean. Is there a way to
> use the same service bean
> but with diffrent persistent context?
>   
You mean the same instance of the bean or just the same class? The same
instance might not be possible.
But what if you configure your service bean two times? Then you'll be
able to get two instances.

If this wont help, could you provide some small code-pieces (spring
config, beans, service bean, thread stuff) to figuring out what you'll
going to do more exactly.
Maybe as a patch against our examples would be great.


Ciao,
Mario

Reply via email to