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.

On Wed, 2006-05-24 at 10:23 -0500, Scott M Stark wrote:
> One area where there is a dependency on the server module is for the
> deployment metadata classes. These classes also need to drop the legacy
> XML parsing to decouple the source of the objects to decouple the
> runtime model from its source(s). A question has come up as to where
> this code should live. At a minimum it should be broken out from the
> jboss.jar and exposed as part of an integration spi. What are the
> thoughts for a module, jbossxb binding, etc.? 
>  
> xxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Scott Stark
> VP Architecture & Technology
> JBoss Inc.
> xxxxxxxxxxxxxxxxxxxxxxxxxxxx 
>  
> 
> 
> -------------------------------------------------------
> 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
-- 
xxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss Inc.
xxxxxxxxxxxxxxxxxxxxxxxx



-------------------------------------------------------
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&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to