-----Original Message-----
From: Nagulapalli, Srinivas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 1:33 PM
To: Hicks, James
Subject: RE: How can an Entity Bean communicate with other Entity Bean?Yes, the read-write entity bean modifies the data in the database that the read-only bean reads. In so far asthe read-only entity bean reads from the database immediately after read-write bean modifies, it has gooddata, but the moment read-write bean modifies the data, the contents of read-only bean are state and dirtyuntil its next load from database. And that is why I want to know how to clue-in the read-only bean thatits data is stale, immediately after read-write bean modifies.Thanks-Srini-----Original Message-----
From: Hicks, James [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 2:09 PM
To: 'Nagulapalli, Srinivas'; [EMAIL PROTECTED]
Subject: RE: How can an Entity Bean communicate with other Entity Bean?Why would you need to reload the read-only bean? Are you modifing the data in the database that the readonly bean reads?
James
-----Original Message-----
From: Nagulapalli, Srinivas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 7:28 AM
To: [EMAIL PROTECTED]
Subject: How can an Entity Bean communicate with other Entity Bean?
I have two Entity Beans, representing same underlying data, but one of
the beans is Read-Write while other one is Read-Only Entity Bean.
And when my Read-Write Entity Bean modifies its contents, I want to
somehow communicate to Read-Only Entity Bean to reload itself.
Any ideas/insights/suggestions are very much appreciated.
(All I know for now is to set the time-out setting for Read-Only Entity
Bean low enough to make it periodically load itself)
Thanks
-Srinivas===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you receive this in error, please contact the sender and delete the material from all computers.
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you receive this in error, please contact the sender and delete the material from all computers.
