[ 
http://mifosforge.jira.com/browse/MIFOS-4369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Udai Gupta updated MIFOS-4369:
------------------------------

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

see org.mifos.framework.components.batchjobs.MifosScheduler.initialize()

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

  was:
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.

        Summary: Batch Job creates a different spring context and dataSource  
(was: Batch Job creates a different/spring spring context (dataSource))

> Batch Job creates a different spring context and 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.
> see org.mifos.framework.components.batchjobs.MifosScheduler.initialize()
> 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.see

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

        

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to