<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xsi:schemaLocation="
        http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
        http://www.springframework.org/schema/context
        http://www.springframework.org/schema/context/spring-context-3.2.xsd">

    <context:component-scan base-package="com.nearsoft.incubator.service" />

    <!-- Cache expiry for airports (in seconds) -->
    <bean id="airportServiceImpl" class="com.nearsoft.incubator.service.AirportServiceImpl">
        <property name="cacheExpiry" value="3600" />
        <property name="airportDao" ref="airportDaoHibernateImpl" />
    </bean>

    <!-- Cache expiry for airlines (in seconds) -->
    <bean id="airlineServiceImpl" class="com.nearsoft.incubator.service.AirlineServiceImpl">
        <property name="cacheExpiry" value="3600" />
        <property name="airlineDao" ref="airlineDaoHibernateImpl" />
    </bean>
</beans>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xsi:schemaLocation="
        http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
        http://www.springframework.org/schema/context
        http://www.springframework.org/schema/context/spring-context-3.2.xsd">

    <context:component-scan base-package="com.nearsoft.incubator.service" />

    <!-- Cache expiry for airports (in seconds) -->
    <bean id="airportServiceImpl" class="com.nearsoft.incubator.service.AirportServiceImpl">
        <property name="cacheExpiry" value="36000" />
        <property name="airportDao" ref="airportDaoHibernateImpl" />
    </bean>

    <!-- Cache expiry for airlines (in seconds) -->
    <bean id="airlineServiceImpl" class="com.nearsoft.incubator.service.AirlineServiceImpl">
        <property name="cacheExpiry" value="36000" />
        <property name="airlineDao" ref="airlineDaoHibernateImpl" />
    </bean>
</beans>
Increase cache expiry for service beans to 10 hours
Increase cache expiry for service beans to 10 hours
