Thanks! I read the doc 2 or 3 times completely, but sometimes my english make the thing difficult to understand well, especially when first example start with MyModule... I focused on this and didn't pay attention enought to the SubModule part.
I hope this thread will help other like me ;) 2007/6/1, Howard Lewis Ship <[EMAIL PROTECTED]>:
Actually, Howard doesn't have to confirm this as the code confirms this, and the comments, capturing Howard's thoughts, confirm this. On 6/1/07, Blackwings <[EMAIL PROTECTED]> wrote: > > /cry... > Does Howard confirm this? > > 2007/6/1, Joshua Jackson <[EMAIL PROTECTED]>: > > > > I think you can only have one Module loaded by Filter (CMIIW). Last > > time I tried I only can load AppModule, and the other Module entries > > are ignored. > > > > On 6/1/07, Blackwings <[EMAIL PROTECTED]> wrote: > > > So, I created my own Module in the same package than AppModule, > > following > > > the naming convention : > > > > > > public final class UserModule { > > > public UserService buildUserService() { > > > return new UserServiceImpl(); > > > } > > > } > > > > > > And I still have the error, the same others have, "No service > implements > > the > > > interface papo.ioc.services.UserService." > > > > > > So, how can I declare the Module? :) > > > > > > 2007/6/1, Joshua Jackson <[EMAIL PROTECTED]>: > > > > > > > > Of course you can create your own Module, but AppModule it the ones > > > > automatically loaded because it is configured in your web.xml > > > > > > > > On 6/1/07, Blackwings <[EMAIL PROTECTED]> wrote: > > > > > Still the same question... Are we force to use only the AppModule? > > Can > > > > we > > > > > create our own module? This is the question. I think we know how > to > > > > > implement, inject and create a Service. > > > > > I achieved to make it works only when finally I declared my > service > > > > builder > > > > > in AppModule but we still don't know how to create our own hand > made > > > > Module. > > > > > > > > -- > > > > YM!: thejavafreak > > > > Blog: http://www.nagasakti.or.id/roller/joshua/ > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > -- > > > Michael Bernagou > > > Java Developper > > > > > > > > > -- > > YM!: thejavafreak > > Blog: http://www.nagasakti.or.id/roller/joshua/ > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Michael Bernagou > Java Developper > -- 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
-- Michael Bernagou Java Developper