Hey marc fleury wrote: > > It will be tough to provide an implementation... No, super-trivial. Just another field in the EntityBean, and a bit more in setData/getData. Sounds like a lot of work? Weeeell, this could be easily added to the EJBDoclet templates in which case it would be completely transparent to the bean developer: everything would be generated automagically! > I mean we need to keep the "id" version associated with the client somehow, > and that can only be with the proxy... Uhm.. no... reread the article.. there's an extra field in the bean and value objects for the version. It is very straightforward. > then we need to trap that in the client and fire an exception if there is a > version missmatch exception? as what? No, this is all done in the setData() in *the bean*. That's where the version is set and that's where the checking is done. /Rickard -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Problems?: [EMAIL PROTECTED]
- RE: [jBoss-User] Long-running pseudo transactions HOWTO marc fleury
- RE: [jBoss-User] Long-running pseudo transactions ... marc fleury
- RE: [jBoss-User] Long-running pseudo transacti... Juha Lindfors
- RE: [jBoss-User] Long-running pseudo trans... marc fleury
- RE: [jBoss-User] Long-running pseudo t... Dan Christopherson
- Re: [jBoss-User] Long-running pseudo trans... Rickard �berg
- RE: [jBoss-User] Long-running pseudo transacti... Dan Christopherson
- Re: [jBoss-User] Long-running pseudo trans... Rickard �berg
- Re: [jBoss-User] Long-running pseudo t... Dan Christopherson
- Re: [jBoss-User] Long-running pseudo transacti... Rickard �berg
- RE: [jBoss-User] Long-running pseudo transactions ... Rickard �berg
- RE: [jBoss-User] Long-running pseudo transacti... marc fleury
- Re: [jBoss-User] Long-running pseudo trans... Rickard �berg
- Re: [jBoss-User] Long-running pseudo t... Ole Husgaard
- AW: [jBoss-User] Long-running pse... Holger Baxmann
- RE: [jBoss-User] Long-running pseudo t... marc fleury
- RE: [jBoss-User] Long-running pseudo transactions HOWTO Lorenz_JBoss
- Re: [jBoss-User] Long-running pseudo transactions HOWTO Rickard Oberg
