do an MBean with the findByPK and call the beans in the init so that you
load the stuff.

marc


|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Lars Bj�nnes
|Sent: Tuesday, October 10, 2000 5:14 AM
|To: jBoss
|Subject: [jBoss-User] Preloading ejbs/caching techniques
|
|
|
|We're developing a pretty big system, using jBoss, Apache, Tomcat, and
|Cocoon. For this system, we're rolling our own user authentication/
|access to resource-verification system. For now, everything is
|implemented using ejbs.
|
|Some operations will be done almost all the time, like checking if a
|user has access to a certain resource on the system. This will involve
|some rather complex database lookups, and is thus quite expensive in
|terms of CPU etc.
|
|So:
|
|Is it possible to preload beans, with all data loaded? I'd rather have
|a long and slow startup of the system, than a long wait for the user.
|
|Other strategies or ideas?
|
|--
|Lars
|
|
|
|
|
|
|
|--
|--------------------------------------------------------------
|To subscribe:        [EMAIL PROTECTED]
|To unsubscribe:      [EMAIL PROTECTED]
|Problems?:           [EMAIL PROTECTED]
|
|



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to