Jakarta EE 10 managed-bean

351 views
Skip to first unread message

Wing Mak

unread,
Sep 20, 2022, 10:43:57 PM9/20/22
to WildFly
Hi, WildFly

                 Our project use managed-bean with faces-config.xml under Jakarta EE 9.1 and wildfly-preview-26.1.1. It is fine.

                 But, when I upgrade to Jakarta EE 10 and wildfly-27.0.0.Alpha5, the managed-bean is deprecated. What is the alternative solution? 

managed-bean.PNG

Thanks.

Arjan Tijms

unread,
Oct 4, 2022, 4:08:43 AM10/4/22
to WildFly
The managed-bean is not just deprecated, it's actually removed in Faces 4 (it was deprecated in 2.3).

The alternative is using CDI beans. Note that the managed bean package already mentioned this when JSF 2.0 was released in 2009.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages