I have this problem with session beans. I have certain objects which I want
to be persistant across all session beans. One approach is to use an entity
bean. But that's a little overkill. These are several xml files which I use
to setup some of the session beans properties, but they are not expected to
change.
Parsing the xml files each time a session is created is another approach.
But that gives me the *lag time* during the parsing, and slows down my
application.
Is there another alternative? Can I load a bean each time the server is
restarted, or when an event occurs (say, the *datetime* changes on the
file)?
Has anybody else faced this problem and solved it?
regards,
Elephantwalker