users@javaserverfaces.java.net
Re: JSF performance in GF 4.0
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
In reply to
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: <
pablo.a.saavedra_at_gmail.com
>
Date
: Thu, 24 Oct 2013 17:18:35 -0200
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.
>
>
This message
: [
Message body
]
Next message
:
jason zhang: "method call as start node for flow"
Previous message
:
manfred riem: "Re: JSF performance in GF 4.0"
In reply to
:
manfred riem: "Re: JSF performance in GF 4.0"
Reply
:
manfred riem: "Re: JSF performance in GF 4.0"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]