anonymous wrote : The class Deployer isn't an interface :)
you know what i mean :)
anonymous wrote : Just instantiate them directly in the messaging server. So yes, we have
a dependency on the implementation for construction, but not thereafter. This also makes
unit testing a lot easier.
That was my point, we shouldn't be Dependant on the implementation for anything if we
use interfaces. If its pluggable it should be an interface and should be injected, if it
isnt, then do we really need an interface?
Just playing devils advocate! :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132487#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...