A
Andoni
Hello,
Maybe what I want is not to fake entity beans but I will explain what I am
trying to achieve. Each time a user logs on to my website the incur a
number of database queries. Firstly to get their details, then the list of
their suppliers and the list of their permissions on the site.
I want to store this information at application level so as to cut out many
of the DB queries that are being done, but there are a few problems:
1. It has to be possible to update any user in real time or to create a new
one and have them function immediately.
2. I don't know if there would be too much information being stored at
application level?
3. I am limited to Apache Tomcat and hence no Entity beans (which I believe
take care of these things?).
Can anyone suggest a pattern for doing this?
Thanks in advance,
Andoni.
Maybe what I want is not to fake entity beans but I will explain what I am
trying to achieve. Each time a user logs on to my website the incur a
number of database queries. Firstly to get their details, then the list of
their suppliers and the list of their permissions on the site.
I want to store this information at application level so as to cut out many
of the DB queries that are being done, but there are a few problems:
1. It has to be possible to update any user in real time or to create a new
one and have them function immediately.
2. I don't know if there would be too much information being stored at
application level?
3. I am limited to Apache Tomcat and hence no Entity beans (which I believe
take care of these things?).
Can anyone suggest a pattern for doing this?
Thanks in advance,
Andoni.