Re: OSCache and MVC
Andreas Joseph Krogh <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.os-cache |
|---|---|
| Organization | OfficeNet AS |
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 18 March 2004 00:55, Hani Suleiman wrote: > No, no, no! > > If you're using EJB's, adding a second level cache is a BAD idea. One > of the benefits of using ejb's in the first place is so you don't have > to worry about caching. The container does it for you. Stuffing ejb's > into oscache is an horrific abuse of both oscache and ejb's. You misunderstood me. I'm not talking about caching EJBs, I'm talking about caching data-objects returned from EJBs, so that you don't have to call the EJBs at all when the data you obtained the first time(or when the cache expires) is in the cache. EJBs don't cache that for you. Of course if it's essential businesslogic performed we're talking about, caching is out of the question, but my point was caching data-objects/structures returned from EJBs. And nobody's using entity-beans anymore... - -- Andreas Joseph Krogh <[email protected]> Managing Director, Senior Software Developer OfficeNet AS I always do a CVS update before making a patch (unless I forget). gpg public_key: http://dev.officenet.no/~andreak/public_key.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAWU9FUopImDh2gfQRAn77AJ9eu6jFdFUfb/kxr/I4boL8NInyMQCfXvTf d2tqB1J/cNjaVQxNYZI0MaE= =yPaE -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click