Markus-

You might want to check out the forums on http://theserverside.com/ .  I
seem to recall there was an active discussion of that type of issue a while
back.

Sincerest regards,
Chris Todd

>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]On Behalf Of Rickard �berg
>Sent: Thursday, October 05, 2000 10:31 AM
>To: jBoss
>Subject: Re: [jBoss-User] ejbStore / ejbLoad
>
>
>Hi!
>
>ZZ-Coz wrote:
>> Can I use ejbLoad and ejbStore to implement a caching BMP Bean.
>>
>> so my get methods will not access the db on every call...
>>
>> an example may help..
>
>Yes, this is possible. You could do the ejbLoad only once per activation
>(and keep a flag so it doesn't load anymore after that), and only store
>if any fields have been changed. You will have to write this code
>yourself, of course, but it is not very difficult.
>
>/Rickard
>
>--
>Rickard �berg
>
>Email: [EMAIL PROTECTED]
>http://www.telkel.com
>http://www.jboss.org
>http://www.dreambean.com
>
>
>
>--
>--------------------------------------------------------------
>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