Okay, that sounds about right. Then we said just use seam-beans.xml. The 
WebResource hacks came much later. 

Sent from my iPhone

On Sep 26, 2012, at 6:39, Marek Schmidt <[email protected]> wrote:

> The Solder docs hints:
> 
>> The beans.xml file is the preferred way of configuring beans via XML; 
>> however some CDI implementations will not allow this, so seam-beans.xml is 
>> provided as an alternative. 
> 
> I guess the problem was reading WEB-INF/beans.xml before the
> ServletContext is available, which is only possible with some
> non-portable hacks AFAIK (see Solder
> org.jboss.solder.servlet.resource.WebResourceLocationProvider)
> 
> --
> Marek Schmidt
> Seam QE
> 
> 
> On 25/09/12 01:19, Jason Porter wrote:
>> It did (maybe it still does), but at some point we decided that wasn't
>> recommended, I don't recall why though, perhaps Stuart or Pete remembers.
>> 
>> On Mon, Sep 24, 2012 at 5:11 PM, Romain Manni-Bucau
>> <[email protected]>wrote:
>> 
>>> each time i read this kind of conf i think it should be the opposite
>>> 
>>> why not extending beans.xml (just in the spirit, not in the same file)
>>> adding <qualfiiers> etc?
>>> 
>>> 
>>> *Romain Manni-Bucau*
>>> *Twitter: @rmannibucau*
>>> *Blog: **http://rmannibucau.wordpress.com/*<
>>> http://rmannibucau.wordpress.com/>
>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>>> 
>>> 
>>> 
>>> 
>>> 2012/9/25 Jason Porter <[email protected]>
>>> 
>>>> I'm going to send probably the most comprehensive example that exists
>>> about
>>>> what Seam XML can do:
>>>> 
>>>> 
>>>> 
>>> https://github.com/seam/config/blob/develop/examples/princess-rescue/src/main/resources/META-INF/seam-beans.xml
>>>> 
>>>> You can also find the Java classes that back that config at
>>>> 
>>>> 
>>> https://github.com/seam/examples/tree/master/princess-rescue/src/main/java/org/jboss/seam/examples/princessrescue
>>>> 
>>>> Mark, could you give some examples of the stuff you would like to see as
>>>> well?
>>>> 
>>>> --
>>>> Jason Porter
>>>> http://lightguard-jp.blogspot.com
>>>> http://twitter.com/lightguardjp
>>>> 
>>>> Software Engineer
>>>> Open Source Advocate
>>>> Author of Seam Catch - Next Generation Java Exception Handling
>>>> 
>>>> PGP key id: 926CCFF5
>>>> PGP key available at: keyserver.net, pgp.mit.edu
>>>> 
>>> 
>> 
>> 
>> 
> 

Reply via email to