On Sun, Apr 4, 2010 at 09:23, Dan Allen
<dan.j.allen@gmail.com> wrote:
Yes, I agree we should avoid duplicate class names in the public API as a general rule, because we've seen the confusion that has caused in the Java EE API (@ManagedBean, @*Scoped, etc). But still, too much package sharing can also be confusing for the developer because it becomes somewhat unclear which modules are providing which classes. So we are agreeing that modules use the base name space of org.jboss.seam.[module], correct? (With the special case of interceptors/decorators, see next).
Originally I was thinking differently, but I'm good with this. It's still easy to understand, and to a degree still follows the Seam2 package structure so it shouldn't be that difficult to understand how to migrate. It also helps by knowing exactly which modules you're using just by looking at the imports. Hopefully the overlap and dependencies between modules is kept to a minimum.