Re: Transaction Support in osWorkflow

"Philipp Hug" <[email protected]>
Newsgroups gmane.comp.java.open-symphony.devel
Message-ID <024801c3250f$1fc46e50$522210ac@chimera>
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
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.