dev@glassfish.java.net

Re: GlassFish V3 / Web Beans

From: Roger Kitain <Roger.Kitain_at_Sun.COM>
Date: Mon, 04 May 2009 06:19:38 -0400

Starting separate thread with Paul -

-roger

Paul Sandoz wrote:
> Hi,
>
> I tried adding the WebBeansListener to the web.xml for use with a
> simple servlet (same as in earlier email) but it did not work.
>
> Is there some additional integration work required for basic Servlet
> support with JCDI?
>
>
> I really would like to demo GF+JCDI+JAX-RS at JavOne :-)
>
> Paul.
>
> On May 1, 2009, at 6:38 PM, Roger Kitain wrote:
>
>> Hey Ludo -
>>
>> As Sahoo eluded to (and per his suggestion), I've made changes to the
>> Web Beans integration deployment
>> class to automatically add the WebBeansListener entry to the
>> deployment descriptor if it is not already
>> present. This was checked in yesterday (with the license header
>> changes). So you should not have to
>> make the change in [2].
>>
>> -roger
>>
>> Sahoo wrote:
>>> Roger Kitain wrote:
>>>> Ludo -
>>>>
>>>> I would recommend two things:
>>>>
>>>> 1. use the examples tag that corresponds with Web Beans PREVIEW1:
>>>> http://anonsvn.jboss.org/repos/webbeans/examples/tags/1.0.0.PREVIEW1/
>>>>
>>>> 2. numberguess is JSF 1.x app. use Jsf 2 app; also - add the
>>>> following entry to web.xml:
>>>> + <listener>
>>>> +
>>>> <listener-class>org.jboss.webbeans.servlet.WebBeansListener</listener-class>
>>>>
>>>> + </listener>
>>>>
>>>
>>> BTW, #2 is a temporary step. Roger is fixing it so that we
>>> automatically take care of this during deployment.
>>>
>>> Thanks,
>>> Sahoo
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>