We have a start with the AMTAGS proposal, so we do have a vested interest in completing the job of Meta Info representation. The purpose of this Random Thought (RT) is to standardize the persistence of the Meta Information, or how it is stored in the JAR files.
All three of the Avalon containers have different mechanisms for doing this, and it would be really great to standardize on one. So far, Merlin has the most expressive format, so we might want to use that format to handle the integration. In fact, we might want to adapt that whole library (the Merlin Meta) library to meet the needs of all the containers.
Quick Note:
The use of @avalon.meta.XXX should be discouraged. @avalon.XXX is the
namespace for Avalon related meta information, and the ".meta." for each
and every tag is not only unnecessary, it is very repetitive. All Avalon
tags should be marked by @avalon.XXX only. Those tags should be recorded
in the AMTAGS proposal. Also, a point of contention in the past is one of versioning in the service
and implementation types. After more thought on the matter, I am inclined
to agree it is useful information that can be used to validate contract
compatibility with the component. It should not be absolutely required,
but used if it exists.Back to the subject at hand. I want to be able to quickly and easily adapt an existing library to the task at hand. This will obviate the need for three different ways of generating meta information for Avalon components.
Currently we have two XML formats and one property based format. The Fortress property based format should be considered a quick and dirty hack for persisting meta information. However, there are a couple things we should discuss, namely the use of the JDK 1.3 services approach well documented in the JAR file docs by SUN, and the extension of that to list the services.
Merlin and Phoenix both use the META-INF/MANIFEST.MF format to identify the components. In the end this might be the best approach as it identifies the types instead of the services as primary which seems to be more common. More thoughts on this would be welcome.
XML file format differences can be easily accounted for by using a simple transformation to convert one XML format to another. Not to mention that Merlin Meta does read Phoenix meta info natively. That is a good thing.
The main question is how easy is it to extend Merlin Meta? If the data model is too specific, then we can run into a problem. If the data model is nice and generic, then all is well.
Stephen has a decent outline as to the types that are essential to track. If we need to expand on that we can do so as the need arrises. Are there any deficiencies where Merlin cannot track Phoenix attributes? Fortress has a common subset that is very limited.
The important thing to do in this case is to ensure that the meta info is collected the same way. I have a feeling that if we remove the *.meta.* from the Merlin collection mechanism things will be a bit easier to integrate. Any thoughts on this?
--
"They that give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety."
- Benjamin Franklin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
