EntityBeans synchronization

Hi all

I have a very basic question regarding entity beans:

Say I have 2 components handling the same entitybean:

A client with read-write permissions.

A server component with read-write permissions.

What happens if the client holds a current entity in memory and updates it, while the server update that same entity as well. Now there can be several scenarios:

1. The client wishes to "refresh" its view of the entity

2. The server needs to persist that entity, or transfer it over the net.

Can I trust for full synchrnization between the 2 entities?

Thanks

[620 byte] By [Gura] at [2007-9-23]
# 1
EJBs are thread safe :)
AngelaConnora at 2007-7-10 > top of java,Enterprise & Remote Computing,Enterprise Technologies...