Hi! I've been using java for 3 years aprox, and when I was working on
projects, we used to have this projects (architecture)

project-common (model, and services)
project-server (services implementations!)
project-web (we used struts2 so... jsp, actions, etc)

I had a good architect, he used maven, and spring. Dependencies are:
server can see common... and web can see common...
That was good because in the WEB layer you could NEVER see any class
of the server layer (that is ok). As we use spring, there was no
problem because in RUNTIME all beans were wired (via XML)

My question about tapestryIoC is... it doesn't use XML (I love that)
but if I'm in web layer (i.e. AppModule.java) and I want to reference
a server implementation, I CAN'T. I need via programming to do this:
   binder.bind(common.LoginService.class, server.LoginServiceImpl.class)

but I can't see LoginServiceImpl.class... my patch/workaround by now
is.. I let web-layer see the server-layer, but that is not happy. Any
suggestions? Thanks and sorry for my bad english!

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

Reply via email to