users@glassfish.java.net

Re: the purpose of beans.xml ?

From: Ludovic Champenois <Ludovic.Champenois_at_Sun.COM>
Date: Thu, 11 Feb 2010 11:36:06 -0800

On 2/11/10 11:30 AM, Felipe Gaścho wrote:
> humm... Eclipse failed to validate the following header :
>
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <beans xmlns="http://java.sun.com/xml/ns/javaee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
> </beans>
>

Even with 1.0.52 latest plugin?
We had the wrong schema before that.
Ludo
>
>
> 2010/2/11 Felipe Gaścho<fgaucho_at_gmail.com>:
>
>> great, I will update the entry right now.. I didn't knew the schema
>> was available online.. Ludo pointed me to the static file and I just
>> catched the first idea........... :)
>>
>> thanks a lot..........
>>
>>
>> On Thu, Feb 11, 2010 at 8:13 PM, Dominik Dorn<dominik.dorn_at_gmail.com> wrote:
>>
>>> Felipe,
>>> its not 100% correct what you posted there...
>>>
>>>
>>> http://docs.jboss.org/weld/reference/1.0.0/en-US/html/interceptors.html
>>> states:
>>> <beans
>>>
>>> xmlns="http://java.sun.com/xml/ns/javaee"
>>>
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>
>>> xsi:schemaLocation="
>>>
>>> http://java.sun.com/xml/ns/javaee
>>>
>>> http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
>>>
>>> is the correct header of the beans.xml file... you are referring to
>>> the old location in seamframework.
>>>
>>>
>>>
>>>
>>> 2010/2/11 Felipe Gaścho<fgaucho_at_gmail.com>:
>>>
>>>> Thanks a lot, here it is the result of your tips:
>>>> http://weblogs.java.net/blog/felipegaucho/archive/2010/02/11/fixing-broken-windows-1-beansxml-validation-java-ee-6
>>>>
>>>> On Thu, Feb 11, 2010 at 7:15 PM, Ludovic Champenois
>>>> <Ludovic.Champenois_at_sun.com> wrote:
>>>>
>>>>> On 2/11/10 9:49 AM, Felipe Gaścho wrote:
>>>>>
>>>>>> what is the purpose of the beans.xml in Java EE 6 applications ? to
>>>>>> enable CDI ?
>>>>>>
>>>>>>
>>>>>>
>>>>> http://relation.to/Bloggers/WhyIsBeansxmlRequiredInCDI
>>>>>
>>>>> Ludo
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> ------------------------------------------
>>>> Felipe Gaścho
>>>> 10+ Java Programmer
>>>> CEJUG Senior Advisor
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Dominik Dorn
>>> http://dominikdorn.com
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>>>
>>>
>>
>>
>> --
>> ------------------------------------------
>> Felipe Gaścho
>> 10+ Java Programmer
>> CEJUG Senior Advisor
>>
>>
>
>
>