|
This does seem to be a problem with EJB, but if you don't
check the db, you're never sure if the membership info was changed somewhere
else. If you don't care or the object is not updated by any other user, you
could even cache it yourself, such as in a sevlet/stateful session object
for the user. Just calculate how big the membership info object will be
and do the math to see how much you intend to keep cached. If you end up
swapping/thrashing, you'd be much better off getting it from the db. Most
DBs have excellent caching systems.
David
|
Title: RE: Session Bean's for Querying???
- Session Bean's for Querying??? Sharat Hegde
- Re: Session Bean's for Querying??? David Wall
- Re: Session Bean's for Querying??? Chris Humphrey
- Re: Session Bean's for Querying??? Shehrawat, Rishi
- David Wall
