Originally posted by Joe Paolangeli: This is a question for folks that create interfaces and implementing classes. Do you keep the interface and the implementing class in the same or different packages?
It really depends on your design. If everything relating to this concept is small and local, you should probably keep them in one package. If the interface has multiple, widely differing implementations, it make mare more sense to put them in different packages. I've done projets where we create a facade and use package level protection to prevent people from going behind the facade, in thise case, the interface and implementation are in different packages.