Disable welding in Wildfly reduces JSF performance

In wildfly 8.x or even jboss 7.x, disabling soldering will cause the JSF performance to be very low.

I discussed before this question Solved my performance problem and managed to solve it by enabling the welding extension in standalone.xml

This is my JSF sample GITHUB (please keep trying to use wildfly)

Can someone Explain to me why welding affects performance?

Update:

Again, here are my results, just to show that I did not do this

WELD ENABLED

Welding Disabled

Look at the time difference!!!!

Thanks in advance,

Special issue

JSF comments that looked like @ManagedBean were initially replaced with CDI equivelents, as described in this question:

Backing beans (@ManagedBean) or CDI Beans (@Named)?

I think it’s better to migrate the code to CDI, because WildFly is a Java 7 EE container, and the folks at WildFly may decide to optimize their container for use For new technologies like CDI.

Also check BalusC’s answer in the same article, he explained the problem well.

In wildfly 8.x or even jboss 7.x, disabling soldering can cause very low performance of JSF.

I discussed my performance issues before this question and managed to pass in standalone Enable the welding extension in .xml to solve it

This is my JSF sample GITHUB (please continue to try wildfly)

Can someone explain to me why welding affects performance?

Update:

Again, here are my results, just to show that I did not do this

WELD ENABLED

Welding Disabled

Look at the time difference!!!!

Thanks in advance,

Special issue

< p>It looks like JSF annotations like @ManagedBean are beginning to be replaced to favor CDI equivelents, as described in this question:

Backing beans (@ManagedBean) or CDI Beans (@Named)?

I think it’s best to migrate the code to CDI, because WildFly is a Java 7 EE container, and the folks at WildFly might decide to optimize their container for use in new technologies like CDI.

Also check BalusC’s answer in the same article, he explained the problem well.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 2622 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.