I mean all of the org.jboss.metadata.* classes. These are really part of the deployment layer and this is where the shared usage is showing up: tomcat, jbossws, ejb3, ...
What we need is the shared deployment metadata model sans the current xml dependency. The binding of the the metadata source, be it xml, annotations, etc should be part of the implementation using these classes. The big issue with making this a truly reusable codebase is along the lines of the j2ee/jboss specific features. Bill suggested using the j2ee module as the location for this code. If it was split up into j2ee specific bindings and deployer specific bindings that could make sense. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Adrian Brock > Sent: Wednesday, May 24, 2006 8:47 AM > To: jboss-development@lists.sourceforge.net > Subject: Re: [JBoss-dev] Breaking out the server/metadata classes > > You mean the org.jboss.metadata.MetaData class? > > There already is a sort of clone of it in common see > org.jboss.util.xml.XmlHelper > > It doesn't look like it is used though? > It's almost certainly out-of-date? > > The real MetaData does need changing like you describe, but > it does have the problem of mixing J2EE defined stuff with > jboss specific stuff from jboss-xxx.xml in the same class. > Sometimes the jboss specific stuff is defined by the plugin > i.e. "XmlLoadable", so you don't even have a metadata class as such. > > I've always thought that this stuff should be part of the > deployment layer. But then there are advantages and > disadvantages for the metadata, deployer and > container/runtime to live in the same project. > Advantage: It is easy to maintain. > Disadvantage: It is difficult to expose the model to a client > because runtime dependencies inevitably leak into it. > ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development