I have a question about the object caching in OJB.  I have a website
that displays data from the database.  The user cannot modify this data.
I also have a JMS message listener (running in the same JVM) which
receives events that in turn modify the data in the database.  Now when
a user logs in, I load up this data into the user session.  My question
is this:  If my app changes the data in the database, will the changes
be reflected in the data I have stored in the session?  I would expect
the data in the session to be consistent with the data in the OJB cache
since both contain references to the same objects (OJB guarantees
uniqueness of objects).  And if this works it makes my front end website
very easy.  On the other hand, if this approach will not work, I must
have my front end connect to the backend to retrieve the data from the
database each time the page is displayed.

Michael


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to