Hi,

> Assuming a usual situation where you will access objects of any
> particular class a significant number of times, then cache most of the
> reflection results by class.  In particular, you could cache the
> PreparedStatement and the list of Field objects.

Haven't thought of that. Bringing up the issue of a cache: how would a cache
be implemented in a session bean? As I understand, the container always has
some session bean instances handy, how could these be made to share the same
cache? Usually, I would solve such a problem with static fields/methods, is
this possible in a session bean?

thx
Heiko

===========================================================================
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".

Reply via email to