[seam-dev] [weld-dev] Replacing pages.xml

Pete Muir pmuir at redhat.com
Wed Mar 10 10:31:35 EST 2010


On 10 Mar 2010, at 15:29, Lincoln Baxter, III wrote:

> Ok, one other issue that just crossed my mind.
> 
> This is purely a technical concern, obviously configurations can be merged, but it would be nice if the configuration could be configured in a "Beans" like manner, so that the Seam3 XML configuration module could consume the Java artifacts and allow XML configuration (using the same classes, preventing duplication, all that good stuff...)
> 
> I'm not sure if instantiating Enums and using them as beans is something that we can do at this time (looking for someone who knows to answer this?) so it may be worth sticking with a class interface or abstract class concept.

We can't do it in plain CDI, but a portable extension can be written to do this (well, it can be added to Weld extensions).





More information about the seam-dev mailing list