Em Mon, 03 Aug 2009 16:35:33 -0300, neo anderson <javadeveloper...@yahoo.co.uk> escreveu:

Thanks for reply.

:)

I am a bit confused now. Would you please give a bit more explain on how to add make AccountDAO a service?

Using binder.bind() in some modules's bind(ServiceBinder) method or creating a buildXXX() method in some module class.

in AuthService.java

        @Inject
        private IAccount accountDAO;

Shouldn't be above link be private IAccountDAO instead of private IAccount? Then IAccountDAO should be a service, having AccountDAO as its implementation.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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

Reply via email to