Thanks a lot Matt !

Mike Horwitz wrote:
> 
> Assuming you are using Hibernate the following should help:
> http://www.hibernate.org/hib_docs/v3/reference/en/html/performance.html#performance-cache
> 
> Mike
> 
> On 11/1/07, Plant More Tree <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi Matt,
>>
>>   Hence, for my case I have a geographicalDao, do I need to configure it
>> in
>> enchace.xml specifically so that it's in the cache?
>>
>>        <bean id="geographicalDao"
>> class="com.stufftolet.dao.hibernate.GeographicalDaoHibernate">
>>                <property name="sessionFactory" ref="sessionFactory"/>
>>        </bean>
>>
>>    <bean id="sessionFactory"
>> class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
>>        <property name="dataSource" ref="dataSource"/>
>>       .........
>>
>> Thanks,
>> Mark
>>
>>
>> mraible wrote:
>> >
>> > I wouldn't worry about configuring EhCache in you middle-tier if
>> > you're using Hibernate or iBATIS in your backend. It's usually better
>> > to configure your caching at the data tier.
>> >
>> > Matt
>> >
>> > On 11/1/07, Plant More Tree <[EMAIL PROTECTED]> wrote:
>> >>
>> >> hello a little bit of advice here please ... thanks !
>> >>
>> >>
>> >>
>> >> Plant More Tree wrote:
>> >> >
>> >> > Hi guys,
>> >> >
>> >> >    I'm using appfuse 1.9.4 and I saw that
>> >> > org.springframework.cache.ehcache.EhCacheFactoryBean is being
>> configure
>> >> in
>> >> > applicationContext-service.xml. I don't really understand how the
>> >> ehcache
>> >> > works but if I have created another manager like below:
>> >> >
>> >> >     <bean id="geographicalManager"
>> >> > class="com.stufftolet.service.impl.GeographicalManagerImpl">
>> >> >          <property name="geographicalDao" ref="geographicalDao"/>
>> >> >     </bean>
>> >> >
>> >> > How should I configure it to use ehcache so that retrieving
>> geogrphical
>> >> > information can be faster instead of getting from database
>> everytime.
>> >> >
>> >> > Thanks & Regards,
>> >> > Mark
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/How-to-configure-ehcache-for-other-manager-bean-in-applicationContext.xml--tf4542748s2369.html#a13531783
>> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>> > --
>> > http://raibledesigns.com
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-configure-ehcache-for-other-manager-bean-in-applicationContext.xml--tf4542748s2369.html#a13532508
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-configure-ehcache-for-other-manager-bean-in-applicationContext.xml--tf4542748s2369.html#a13533218
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to