Hi kyle,
My question might be a wrong one but I am just asking to make a clarification. I request apologies if the question is an absurd one.
I was going trhu one of the chapters of "Enterprise
Java Programming with IBM WebSphere " which discuss about
"The session facade and data bean solution"
In this solution a
servlet requests a session bean which inturn gets the data of an entity bean into a data bean(an oridnary java bean) and returns the data bean to the servlet. The idea is to reduce the network calls to the
EJB and to have a local representation of data. But if the underlying data in DB gets updated or modified, the data bean becomes stale. If u r getting the info from the entity bean then there is a fair chance of getting the most recent data as it gets updated by activate/passivate actions. How far am I correct and how to address this problem ?
Regards,
Mustang.