Should all module sources have visibility to web facet's sources?

I love how the new facets are coming along. They really clean things up.

But currently, all the sources within a module have compile-time visibility to the source paths of the module's web-app facets. However, in most app servers, the web-apps java sources are in their own child classloader, and classes in ejb jars or library jars can't see the classes in the web-app.

Does that make sense?

Please sign in to leave a comment.