I'm not sure what you are trying to do, but you can't expect a single
transaction to be splitted across different threads at the same time.
You can find some example configurations using jencks in the source
tree:
  
http://svn.jencks.codehaus.org/browse/jencks/trunk/jencks/src/test/resources/org/jencks

On 9/25/07, Arif Mohd <[EMAIL PROTECTED]> wrote:
>
> Hi gnodet,
>
>       It will be a great help for me if you could help me with small code
> snippet. Iam entirely new to this technologies and iam trying to evaluate
> how i can make use of jencks.
>
>    As you said iam having a controller entity which will be creating new
> threads(hybernate sessions) parallely and i want to make use of jencks here
> in controller entity for maintaining distributed transactions.
>
>       Just help me how can i do stand alone setup for jencks(with out any
> app server stuff) with resource adapters.
>
> gnodet wrote:
> >
> > Transactions usually occur within a single thread, even when
> > distributed.  You'd have to sequence your processing somehow...
> >
> > On 9/25/07, Arif Mohd <[EMAIL PROTECTED]> wrote:
> >>
> >> Hi,
> >>
> >>    Iam new to this jencks and even to hybernate. Just i want to know can
> >> i
> >> integrate jencks with hybernate. My requirement is there are 3 threads, 2
> >> of
> >> them are hybernate session threads doing some DB operation and one more
> >> thread is using ActiveMQ. I want to make use of jenks for maintaing
> >> distributed transactions over these threads
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Does-jencks-canbe-integrated-with-hybernate--tf4514305.html#a12875825
> >> Sent from the jencks - user mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe from this list please visit:
> >>
> >>     http://xircles.codehaus.org/manage_email
> >>
> >>
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> > ------------------------
> > Blog: http://gnodet.blogspot.com/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/Does-jencks-canbe-integrated-with-hybernate--tf4514305.html#a12876311
>
> Sent from the jencks - user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to