Hi Kieth,

In MIFOS, currently HashtableCache Provider is configured to provide 
caching for Hibernate. 

I was reusing some the domain objects in MIFOS for report parameters and 
was not sure how changing the caching strategy in hibernate for those 
objects
would affect the rest of the application. Also Hibernate manages the 
lifecycle of the cache, that is invalidating and repopulating it.
As there was a requirement related to invalidating the cache at mid night 
and repopulating it, this required to have more control over caching life 
cycle. 
Therefore I had to go with an external caching mechanism, or at least with 
the one that provided me that control.

I evaluated some of the caching libraries that are available in Java. Out 
of those, Ehcache had a good documentation and an active community around 
it.
Spring also addressed the issue of having multiple caching options in java 
and have come up with an abstraction that allows to cache without being 
tightly coupled
to a particular caching framework(Atleast that is the idea behind the 
project, I am still figuring how that will be possible). So ideally, we 
can change the caching library without
much affect on the rest of the codebase.

This was my understanding when I started on implementing caching in MIFOS. 
I am still working on caching, and as I get more clarity on the subject, I 
will glad to share it
with MIFOS community.

Regards,
Amiruddin Nagri,
ThoughtWorks Technologies India Pvt. Ltd.,
2nd Floor, Tower C, Diamond District, Airport road,
Bangalore, 560008, KA
India 

Y! IM : [EMAIL PROTECTED]
GTalk : [EMAIL PROTECTED]




"Keith Pierce" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
01/08/2008 11:04 PM
Please respond to
Developer <[email protected]>


To
Developer <[email protected]>
cc

Subject
Re: [Mifos-developer] Collection Sheet Report Patch for MIFOS






Amiruddin, thanks for the additional information. For our benefit can you 
elaborate on your choice of the Spring caching module to implement 
caching? For example, Hibernate itself provides query caching 
capabilities, and since your reports access data through Hibernate, that 
would be a logical candidate. Did your team have a reason to prefer 
Spring's caching module over Hibernate's, or any of the many other 
implementations? 

Keith

On Jan 8, 2008 11:05 AM, Amiruddin Nagri <[EMAIL PROTECTED]> wrote:

Hi, 

Apologies, I forgot to mention some guidelines for applying the previous 
patch. 

I have tested the given patch using Eclipse by applying on the latest copy 
of MIFOS from svn. So, it should be good if you use Eclipse to apply the 
patch. 

Also, for caching of some of the parameters in application, I have used 
spring-modules-cache.jar. I am attaching the same along with this mail. 
Please copy it to your mifos/lib folder for testing the patch. 

If you face any other issue regarding the patch, kindly send a mail. I 
will try to get back to you as soon as possible. 


Regards, 
Amiruddin Nagri,
ThoughtWorks Technologies India Pvt. Ltd.,
2nd Floor, Tower C, Diamond District, Airport road,
Bangalore, 560008, KA
India 

Y! IM : [EMAIL PROTECTED]
GTalk : [EMAIL PROTECTED]





Amiruddin Nagri <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED] 
01/08/2008 09:54 PM 


Please respond to
Developer <[email protected]>


To
[email protected] 
cc
Pramod Biligiri <[EMAIL PROTECTED]>, Nandini Yadalam <
[EMAIL PROTECTED]>, Apoorv G Gawde <[EMAIL PROTECTED]> 
Subject
[Mifos-developer] Collection Sheet Report Patch for MIFOS









Hi, 

We are working on adding Collection Sheet to the report module for MIFOS. 
Find the patch attached for the same. 



Regards, 

Amiruddin Nagri,
ThoughtWorks Technologies India Pvt. Ltd.,
2nd Floor, Tower C, Diamond District, Airport road,
Bangalore, 560008, KA
India 

Y! IM : [EMAIL PROTECTED]
GTalk : [EMAIL PROTECTED]
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace 


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source. 
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

Reply via email to