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]

Reply via email to