Hey Dan Christopherson wrote: > > I'm rather used to building this sort of optimistic lock feature in > application land. I'm not sure how this would look in an EJB container. > > What would the client (i.e. servlet/jsp)'s view of this long transaction > be? would I create a UserTransaction and keep it hanging around in my > session? I don't think i'd like that - I like to be able to differentiate > between the long 'transaction' and the actual DB transactions. Or maybe > that's just me. No.. Marc misunderstood the article. This is something *you* do as bean developer, and you catch this when doing setData() on your bean after the client has edited the values. If there's an exception then it has been changed since the client did getData() to get values to work with. /Rickard -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Problems?: [EMAIL PROTECTED]
- [jBoss-User] Long-running pseudo transactions HOWTO Rickard �berg
- Re: [jBoss-User] Long-running pseudo transactions ... Nils Hartmann
- RE: [jBoss-User] Long-running pseudo transactions ... marc fleury
- RE: [jBoss-User] Long-running pseudo transacti... marc fleury
- RE: [jBoss-User] Long-running pseudo trans... Juha Lindfors
- RE: [jBoss-User] Long-running pseudo t... marc fleury
- RE: [jBoss-User] Long-running pse... Dan Christopherson
- Re: [jBoss-User] Long-running pseudo t... Rickard �berg
- RE: [jBoss-User] Long-running pseudo trans... Dan Christopherson
- Re: [jBoss-User] Long-running pseudo t... Rickard �berg
- Re: [jBoss-User] Long-running pse... Dan Christopherson
- Re: [jBoss-User] Long-running pseudo trans... Rickard �berg
- Re: [jBoss-User] Long-running pseudo transacti... Rickard �berg
- RE: [jBoss-User] Long-running pseudo trans... marc fleury
- Re: [jBoss-User] Long-running pseudo t... Rickard �berg
- Re: [jBoss-User] Long-running pse... Ole Husgaard
- AW: [jBoss-User] Long-running... Holger Baxmann
- RE: [jBoss-User] Long-running pse... marc fleury
- RE: [jBoss-User] Long-running pseudo transactions ... Lorenz_JBoss
- Re: [jBoss-User] Long-running pseudo transactions ... Rickard Oberg
