On Thu, 5 Jul 2007, harinath adapa wrote:

> Date: Thu, 5 Jul 2007 11:33:40 +0530
> From: harinath adapa <[EMAIL PROTECTED]>
> Reply-To:  <[email protected]>
> To:  <[email protected]>
> Subject: [twincling] Need best architecture design patterns & caching
>     mechanisms
> 
> Action Class->Delegate->Session Facade->DAO/EJB. Presently we r working for
> PMC 2.0 release to increase the performnace and i am working in Front End.
>   In our present application EJB's both  BMP's, CMP's are used very
> effectively and can't be replace with DAO's. As i gone through the code
> "Need to implement the caching mechanism in DAO's for better optimization

IIRC, DAO is stateless and caches MRU only.

Using spring framework is one possibility but it complicates matters.


>
> (As per the present PMC application because of the drill down mechanism for
> every selection in the drop down list, now there is page refreshment. i.e.
> for every selection in drop down values from data base are retrieved.

Is in-expansion using ajax component a possibility ?

>
> Because of this, delay time is more for request & response which causes the
> low performance)".
> 
>  Please if any body already worked on this type of scenario plz provide me
> some of the best caching mechanism's that can be implemented in DAOs. As
> well provide me some architectural design patterns which can be used to
> resolve the above said problems
> 
> Thanks,
> Harinath A
> 

Here are some links to help you start thinking on this.

http://www.theserverside.com/discussions/thread.tss?thread_id=24964

and

http://forum.springframework.org/showthread.php?t=26197

Hope this helps.

Saifi.


Reply via email to