Re: Transaction Support in osWorkflow

"Philipp Hug" <[email protected]>
Newsgroups gmane.comp.java.open-symphony.devel
Message-ID <043601c325dc$03a1e400$340112ac@zeus>
That would be possible. But some code is needed in
AbstractWorkflow/BasicWorkflow to call the transaction functions in the
JDBCTxWorkflowStore.

philipp
----- Original Message ----- 
From: "Pat Lightbody" <[email protected]>
To: "Philipp Hug" <[email protected]>; "Mike Cannon-Brookes"
<[email protected]>; "opensymphony-developers"
<[email protected]>
Sent: Wednesday, May 28, 2003 6:31 PM
Subject: Re: [Opensymphony-developers] Transaction Support in osWorkflow


> Couldn't this just be done by extending JDBCWorkflowStore with
> JDBCTxWorkflowStore?
>
> -Pat
>
> ----- Original Message -----
> From: "Philipp Hug" <[email protected]>
> To: "Pat Lightbody" <[email protected]>; "Mike Cannon-Brookes"
> <[email protected]>; "opensymphony-developers"
> <[email protected]>
> Sent: Wednesday, May 28, 2003 4:48 AM
> Subject: Re: [Opensymphony-developers] Transaction Support in osWorkflow
>
>
> > I wanted to add transaction support to the JDBCWorkflowStore without
> having
> > to create a JDBCWorkflow class.
> > The idea is to create an interface with the three transaction functions
> > begin,commit,rollback and implement it in the persistence classes that
> > support transactions.
> > Now, we could extend BasicWorkflow to call the transaction functions and
> > there would be no need to extend BasicWorkflow or AbstractWorkflow for
> each
> > persistence.
> >
> > philipp
> >
> > ----- Original Message -----
> > From: "Pat Lightbody" <[email protected]>
> > To: "Mike Cannon-Brookes" <[email protected]>;
"opensymphony-developers"
> > <[email protected]>
> > Sent: Wednesday, May 28, 2003 12:32 AM
> > Subject: Re: [Opensymphony-developers] Transaction Support in osWorkflow
> >
> >
> > > Also note that WorkflowContext has a rollback method.
> > >
> > > -Pat
> > >
> > > ----- Original Message -----
> > > From: "Mike Cannon-Brookes" <[email protected]>
> > > To: "opensymphony-developers"
> > > <[email protected]>
> > > Sent: Monday, May 26, 2003 5:55 AM
> > > Subject: Re: [Opensymphony-developers] Transaction Support in
osWorkflow
> > >
> > >
> > > > Yep - with OFBiz and Hibernate these things are handled outside the
> OSWF
> > > > context too. Why would we want the interfaces inside it? Is there a
> > > > particular reason for it?
> > > >
> > > > Cheers,
> > > > Mike
> > > >
> > > > On 26/5/03 10:45 PM, "Hani Suleiman" ([email protected]) penned the
> > > words:
> > > >
> > > > > I'm somewhat against this. The ejb persistence layer provides tx
> > > > > management for free, and it seems somewhat silly to reinvent the
> > wheel.
> > > > >
> > > > > On Monday, May 26, 2003, at 05:54 AM, Philipp Hug wrote:
> > > > >
> > > > >> Is anyone using transactions in osWorkflow? (except with ofbiz)
> > > > >> I'd like to add transaction functions to the persistence
interface
> > > > >> (begin,
> > > > >> commit, rollback), so we could put some basic transaction
> > > > >> functionality into
> > > > >> BasicWorkflow and BasicWorkflowContext.
> > > > >> What do you think?
> > > > >>
> > > > >> philipp
> > > > >>
> > > > >>
> > > > >>
> > > > >> -------------------------------------------------------
> > > > >> This SF.net email is sponsored by: ObjectStore.
> > > > >> If flattening out C++ or Java code to make your application fit
in
> a
> > > > >> relational database is painful, don't do it! Check out
ObjectStore.
> > > > >> Now part of Progress Software.
> http://www.objectstore.net/sourceforge
> > > > >> _______________________________________________
> > > > >> Opensymphony-developers mailing list
> > > > >> [email protected]
> > > > >>
> https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
> > > > >>
> > > > >
> > > > >
> > > > >
> > > > > -------------------------------------------------------
> > > > > This SF.net email is sponsored by: ObjectStore.
> > > > > If flattening out C++ or Java code to make your application fit in
a
> > > > > relational database is painful, don't do it! Check out
ObjectStore.
> > > > > Now part of Progress Software.
> http://www.objectstore.net/sourceforge
> > > > > _______________________________________________
> > > > > Opensymphony-developers mailing list
> > > > > [email protected]
> > > > >
https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This SF.net email is sponsored by: ObjectStore.
> > > > If flattening out C++ or Java code to make your application fit in a
> > > > relational database is painful, don't do it! Check out ObjectStore.
> > > > Now part of Progress Software.
http://www.objectstore.net/sourceforge
> > > > _______________________________________________
> > > > Opensymphony-developers mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: ObjectStore.
> > > If flattening out C++ or Java code to make your application fit in a
> > > relational database is painful, don't do it! Check out ObjectStore.
> > > Now part of Progress Software. http://www.objectstore.net/sourceforge
> > > _______________________________________________
> > > Opensymphony-developers mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
> > >
> > >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: ObjectStore.
> > If flattening out C++ or Java code to make your application fit in a
> > relational database is painful, don't do it! Check out ObjectStore.
> > Now part of Progress Software. http://www.objectstore.net/sourceforge
> > _______________________________________________
> > Opensymphony-developers mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
>
>
>



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.