On 8/23/07, Ben Tomasini <[EMAIL PROTECTED]> wrote:
> I have the same requirement mentioned in #2.  What is the best approach to
> handle this with Tapestry 5?  I am thinking of just eager loading a service
> and invoking the init method in the builder method of the module.  Any other
> thoughts?
> > 1. I've started changing the quickstart project to move a current
> > struts2-spring-jdbc application to T5. Where can I put my dao
> > initialization  (creation of hsqldb tables, which used to be done via
> > my ContextListener class in struts2)?

I use an @EagerLoad service similar to this, example code can be found here:
<http://www.localhost.nu/svn/public/tapestry5-acegi-example/src/main/java/nu/localhost/tapestry/acegi/example/services/AppModule.java>

-- 
        regards,
        Robin

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

Reply via email to