Batch Job creates a different/spring spring context (dataSource)
----------------------------------------------------------------

                 Key: MIFOS-4369
                 URL: http://mifosforge.jira.com/browse/MIFOS-4369
             Project: mifos
          Issue Type: Improvement
          Components: Batch jobs
            Reporter: Udai Gupta
            Assignee: mifosdeveloperqueue
            Priority: Major


Quartz/Spring batch implementation of Mios Batch jobs creates a separate spring 
context, resulting in creation of a separate database connection pooling.

The reason to create a separate spring context seems like requirement of 
"ability to pick external task.xml".

We can either remove "picking up external task.xml" and use only one spring 
application context (one connection pooling only).

OR

We can start using JavaConfig to be able to pick *Context.xml dynamically.
http://www.springsource.org/javaconfig

I prefer the later one because it give us the ability to have custom spring 
configuration files at MIFOS_CONF localtion outside the application.

-- 
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

        

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to