ok, what if I have a daemon class that polls something in the database every now and then. However, on tapestry startup it must be already initialized. Would i use a runnable class and then just use hivemind.Startup? Is this the best practise?
Thanks Howard Lewis Ship wrote: > > An "ASO" that exists at start is, ipso facto, a shared across all users > object. > > In that case, a HiveMind service is appropriate, rather than an ASO. > > On 2/18/07, Gurps <[EMAIL PROTECTED]> wrote: >> >> Hi >> >> I have created an ASO and i'd like it to startup when everything >> initialises: >> >> <?xml version="1.0" encoding="UTF-8"?> >> <module id="desiestclient" version="1.0.0"> >> <contribution >> configuration-id="tapestry.state.ApplicationObjects"> >> <state-object name="trackCache" scope="application"> >> <create-instance class="MyPackage.CacheBean" /> >> </state-object> >> </contribution> >> >> <contribution configuration-id="hivemind.Startup"> >> <startup object="service:trackCache"/> >> </contribution> >> </module> >> >> >> It seems "hivemind.Startup" is not recognised. How do I do this in >> tapestry >> ??? >> >> Cheers, >> -- >> View this message in context: >> http://www.nabble.com/ASO-auto-startup-%28Tap-4%29-tf3250438.html#a9035803 >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > Howard M. Lewis Ship > TWD Consulting, Inc. > Independent J2EE / Open-Source Java Consultant > Creator and PMC Chair, Apache Tapestry > Creator, Apache HiveMind > > Professional Tapestry training, mentoring, support > and project work. http://howardlewisship.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/ASO-auto-startup-%28Tap-4%29-tf3250438.html#a9072401 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]