You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Developer, mifos-devel...@lists.sourceforge.net, Nandini Yadalam, Pramod Biligiri, mifos-d...@lists.sourceforge.net, Apoorv G Gawde
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
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Developer
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
Amiruddin Nagri
unread,
Jan 9, 2008, 6:46:01 AM1/9/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Developer, Developer, mifos-devel...@lists.sourceforge.net
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
Re: [Mifos-developer] Collection Sheet
Report Patch for MIFOS
Keith Pierce
unread,
Jan 9, 2008, 9:20:49 AM1/9/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Developer
Amiruddin,
Thanks for your thoughtful reply. This background will help a lot as we determine how additional caching mechanisms ought to integrate into MifOS's persistence framework, and continue to develop and refine caching patterns to improve performance.