Research how to use @Transaction annotation AOP and alternative of HibernateStaticUtils ---------------------------------------------------------------------------------------
Key: MIFOS-3371 URL: http://mifosforge.jira.com/browse/MIFOS-3371 Project: mifos Issue Type: Dev Task Reporter: Shahzada Hatim Priority: Major One of the scopes of the GSoC project is to use annotated transactions. For this we have to research how AOP works on non-beans since Transactions would be used on non-beans Suppose SavingBO would have an annotation of transaction and some other transaction method calls the SavingsBO method, also with transaction annotation, then every thing will be dealt in transaction, only if the calling method is a bean method. If The calling method is not a bean method then there are possible solutions using AOP. Spring AOP may not be the solution so for this one may have to use AspectJ. There is a possibility that HibernateTransactionManager(?) could be used for this task (to be used within an aspect). This class has a similar functionality as HibernateUtils. HibernateTransactionManager (part of spring) is available so then we can have the same trasnaction environement in bean and non-bean area. This is an exploratory task. The aim is to come up with a recepie of @Transaction in current MIFOS code base. For demonstrative purposes small spring-roo based apps would be used. Please comment if you would like to change the description. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://mifosforge.jira.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Mifos-issues mailing list Mifos-issues@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mifos-issues