The PeriodExecutor uses the PerThreadManager to execute your
runnables.  Translation: the normal end-of-request processing (closing
of connections, etc.) applies here as well.

On Mon, Oct 17, 2011 at 10:43 AM, Tony Nelson <tnel...@starpoint.com> wrote:
> Using tapestry-hibernate mine seemed to just work.  I have a job that runs 
> every 5 minutes that simply inserts a new row into a table.  I inject the 
> service, which in turn uses an injected DAO.  No fussing w/ sessions as far 
> as I can tell.
>
> Tony
>
> On Oct 17, 2011, at 12:45 PM, 9902468 wrote:
>
>> Hi,
>>
>> I can inject services to the job that is going to be periodically executed.
>> Do I have to manage my own transactions (using HibernateSessionManager) and
>> clean up after each execution using PerthreadManager?
>>
>> If so, are you going to provide support for those in the future?
>> Additionally, is it guaranteed that the job will execute even if it has
>> previously thrown exception?
>> How the executor behaves in cluster?
>>
>> I couldn't find documentation about this, is there any?
>>
>> - Ville
>>
>> --
>> View this message in context: 
>> http://tapestry.1045711.n5.nabble.com/PeriodicExecutor-services-and-Hibernate-tp4910599p4910599.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to