Re: [JBoss-user] Exposing 2PC jboss-head/jca??

2004-05-20 Thread Adrian Brock
You can find information about the jboss cvs branch names
on the website.
Once you've read that, my previous answer should make sense
to you.

On Mon, 2004-05-17 at 10:33, Dasarath Weeratunge wrote:
> Adrian,
> 
> Can you please illaborate a little on what you said.
> 
> In which jboss version can I find the new JBoss/tm
> implementation? latest cvs or is there a *stable*
> src/build with this support available?
> 
> Thanks
> 
> Dasarath
> 
> 
> --- Adrian Brock <[EMAIL PROTECTED]> wrote:
> > This has already been done in jboss-head
> > for transaction inflow in jca.
> > cvs ... co jboss-head
> > 
> > On Sun, 2004-05-16 at 15:14, Dasarath Weeratunge
> > wrote:
> > > Hi
> > > 
> > > I'm trying to expose the 2PC implementation of
> > > JBoss/tm  so that I can use it in a 
> > > 
> > > ws-at(WS-AtomicTransaction) implementation that
> > I'm
> > > working on.
> > > 
> > > In the present JBoss/tm impl,
> > TransactionImpl.commit
> > > carries out 2PC. However, for 
> > > 
> > > distriburted transactions support this needs to be
> > > split into two seperate prepare() and 
> > > 
> > > commit() methods and exposed to the outside so
> > that an
> > > external coordinator like ws-at can 
> > > 
> > > control the protocol.
> > > 
> > > I seperated the commit method as above and
> > included
> > > three new methods in 
> > > 
> > > org.jboss.tm.TransactionImpl : __prepare(),
> > > __commit(), __rollback().
> > > 
> > > I have attached the modified code below.
> > > 
> > > I tested the code and it seems to work but I'm not
> > > sure what other issues might have to be 
> > > 
> > > taken into account here. The three new methods are
> > > found at the end of the class definition 
> > > 
> > > and appart from these changes I made no changes to
> > the
> > > existing methods.
> > > 
> > > Can you guys please tell me whether the new
> > __prepare,
> > > __commit/__rollback sequence would 
> > > 
> > > cause any trouble or whether there are any
> > problems in
> > > the way I've done the split with 
> > > 
> > > regard to the rest of the class/package.
> > > 
> > > I'm using jboss-3.2.4RC2 build(custom).
> > > 
> > > 
> > > Thanks.
> > > 
> > > 
> > > 
> > >   
> > >   
> > > __
> > > Do you Yahoo!?
> > > SBC Yahoo! - Internet access at a great low price.
> > > http://promo.yahoo.com/sbc/
> > -- 
> >  
> > Adrian Brock
> > Director of Support
> > Back Office
> > JBoss Inc.
> >  
> > -- 
> >  
> > Adrian Brock
> > Director of Support
> > Back Office
> > JBoss Inc.
> >  
> > 
> > 
> > 
> >
> ---
> > This SF.Net email is sponsored by: SourceForge.net
> > Broadband
> > Sign-up now for SourceForge Broadband and get the
> > fastest
> > 6.0/768 connection for only $19.95/mo for the first
> > 3 months!
> >
> http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> >
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> 
>   
>   
> __
> Do you Yahoo!?
> SBC Yahoo! - Internet access at a great low price.
> http://promo.yahoo.com/sbc/
> 
> 
> ---
> This SF.Net email is sponsored by: SourceForge.net Broadband
> Sign-up now for SourceForge Broadband and get the fastest
> 6.0/768 connection for only $19.95/mo for the first 3 months!
> http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
-- 
 
Adrian Brock
Director of Support
Back Office
JBoss Inc.
 



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Exposing 2PC jboss-head/jca??

2004-05-17 Thread Dasarath Weeratunge
Adrian,

Can you please illaborate a little on what you said.

In which jboss version can I find the new JBoss/tm
implementation? latest cvs or is there a *stable*
src/build with this support available?

Thanks

Dasarath


--- Adrian Brock <[EMAIL PROTECTED]> wrote:
> This has already been done in jboss-head
> for transaction inflow in jca.
> cvs ... co jboss-head
> 
> On Sun, 2004-05-16 at 15:14, Dasarath Weeratunge
> wrote:
> > Hi
> > 
> > I'm trying to expose the 2PC implementation of
> > JBoss/tm  so that I can use it in a 
> > 
> > ws-at(WS-AtomicTransaction) implementation that
> I'm
> > working on.
> > 
> > In the present JBoss/tm impl,
> TransactionImpl.commit
> > carries out 2PC. However, for 
> > 
> > distriburted transactions support this needs to be
> > split into two seperate prepare() and 
> > 
> > commit() methods and exposed to the outside so
> that an
> > external coordinator like ws-at can 
> > 
> > control the protocol.
> > 
> > I seperated the commit method as above and
> included
> > three new methods in 
> > 
> > org.jboss.tm.TransactionImpl : __prepare(),
> > __commit(), __rollback().
> > 
> > I have attached the modified code below.
> > 
> > I tested the code and it seems to work but I'm not
> > sure what other issues might have to be 
> > 
> > taken into account here. The three new methods are
> > found at the end of the class definition 
> > 
> > and appart from these changes I made no changes to
> the
> > existing methods.
> > 
> > Can you guys please tell me whether the new
> __prepare,
> > __commit/__rollback sequence would 
> > 
> > cause any trouble or whether there are any
> problems in
> > the way I've done the split with 
> > 
> > regard to the rest of the class/package.
> > 
> > I'm using jboss-3.2.4RC2 build(custom).
> > 
> > 
> > Thanks.
> > 
> > 
> > 
> > 
> > 
> > __
> > Do you Yahoo!?
> > SBC Yahoo! - Internet access at a great low price.
> > http://promo.yahoo.com/sbc/
> -- 
>  
> Adrian Brock
> Director of Support
> Back Office
> JBoss Inc.
>  
> -- 
>  
> Adrian Brock
> Director of Support
> Back Office
> JBoss Inc.
>  
> 
> 
> 
>
---
> This SF.Net email is sponsored by: SourceForge.net
> Broadband
> Sign-up now for SourceForge Broadband and get the
> fastest
> 6.0/768 connection for only $19.95/mo for the first
> 3 months!
>
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/jboss-user





__
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user