Re: Contribute multiple collections in the same service?

2013-06-05 Thread Ferran Maylinch
Contribute(HazelcastConfigService.class) public static void contributeConfigurerForMapConfigs( MapConfigService mapConfigService, Configuration hzConfigurers) { hzConfigurers.add( mapConfigService.getHazelcastConfigurer() ); } On Tue, Jun 4, 2013 at 12:50 PM, Ferran Maylinch wrote: > Hello, > > I would l

Contribute multiple collections in the same service?

2013-06-04 Thread Ferran Maylinch
Hello, I would like to contribute 2 collections to a service, but I am afraid Tapestry only supports one collection to be contributed. Am I right? My service constructor is like this: public HazelcastConfigServiceImpl( final Collection mapConfigs, final Collection hzConfigurers) { ... } And I

Re: Why @EagerLoad services come before @Startup methods?

2012-04-19 Thread Ferran Maylinch
Thanks Lance. But we have several "@EagerLoads" so we would have to call all their init() methods! On Apr 19, 2012 1:36 PM, "Lance Java [via Tapestry]" < ml-node+s1045711n5651506...@n5.nabble.com> wrote: > Instead of initializing your @EagerLoad service in it's constructor, you > could add an ini

Re: Using Hibernate in DAOs

2012-02-28 Thread Ferran Maylinch
About creating threads explicitly... do we need to use PerthreadManager? I saw you recommend it here: http://tapestry.1045711.n5.nabble.com/Reusing-tapestry-hibernate-session-in-a-thread-td5438833.html On Tue, Feb 28, 2012 at 10:30 AM, Ferran Maylinch wrote: > Thank you very much for y

Re: Using Hibernate in DAOs

2012-02-28 Thread Ferran Maylinch
rote: > On Mon, 27 Feb 2012 20:55:28 -0300, Ferran Maylinch < > ferranmayli...@gmail.com> wrote: > > Hello, >> > > Hi! > > > We are currently using both approaches but we don't know exactly when to >> use each one. >> When should we injec