1 Reply Latest reply on Jun 18, 2007 7:52 AM by pmuir

    Seam namespaces.

    phantom

      Please help me! I don't have much time and resources for experiment and in documentation I didn't find the answer to my question...

      In components.xml we can define XML namespaces in the header. Is it correct, that Jboss Seam looking for components only in this namespaces?

      My problem is: I have several subprojects on my Jboss AS instance. In each subproject I have separate WAR and, for example, such Entity component as "user". Can I use namespaces for components division to separate projects? Now I should make some differences in names, for example: in first project user components called as "pr1user", in second "pr2user" and so on.

      Thanks!

        • 1. Re: Seam namespaces.
          pmuir

          XML namespaces in components.xml are only used for ease of configuration, they don't alter the component names. You need to use qualified names like "com.acme.foo.user", "com.acme.bar.user".