Thanks Manfred, I didn't mean to imply it was JSF's fault.
Regards
On 24 October 2013 16:30, manfred riem <manfred.riem_at_oracle.com> wrote:
> Hi Pablo,
>
> That should be the case.
>
> Note the InjectionProvider is provided by the container.
>
> Regards,
> Manfred
>
>
> On 10/24/13 2:18 PM, pablo.a.saavedra_at_gmail.com wrote:
>
> Quick question, shouldn't it take more time only on the first request?
>
>
> On 24 October 2013 16:04, manfred riem <manfred.riem_at_oracle.com> wrote:
>
>> As CDI is enabled by default in EE7 you are seeing it is trying
>> to determine if there are injection points.
>>
>> You can limit its processing by adding a beans.xml in the
>> WEB-INF directory.
>>
>> <beans xmlns="http://xmlns.jcp.org/xml/ns/javaee" <http://xmlns.jcp.org/xml/ns/javaee>
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <http://www.w3.org/2001/XMLSchema-instance>
>> xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
>> http://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd" <http://xmlns.jcp.org/xml/ns/javaeehttp://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd>
>> bean-discovery-mode="*none*">
>> </beans>
>>
>> Note you should only use this particular beans.xml file if you do NOT use
>> CDI.
>>
>> Thanks!
>> Manfred
>>
>> On 10/24/13 1:57 PM, wismar25_at_hotmail.com wrote:
>>
>> I'm not using CDI, my app was developed with JSF 2.1.x but I need
>> migrate to GF4.0
>>
>> Check this link:
>>
>> 1)https://www.dropbox.com/s/nmhh60qb5st265f/Test2%20-%20GF4.0.png
>> "org.glassfish.faces.integration.GlassFishInjectionProvider.inject(Obje
>> ct)" is consuming a lot of time, 81.5ms from 141ms.
>>
>> 2)https://www.dropbox.com/s/ldtw944n2d9azwt/Test3%20-%20GF4.0.png
>> "org.glassfish.faces.integration.GlassFishInjectionProvider.inject(Obje
>> ct)" is consuming 226ms from 378ms.
>>
>> Can you guide me to resolve this?
>>
>> PD: Sorry, for the last email, remove it.
>>
>>
>