Dear Som,
JSF managed beans are indeed deprecated, but not the managed bean facility defined at the platform level. If you believe they should be deprecated, the best place to start that discussion is likely the platform development mailing list. However, it helps to get more context on the use cases for managed beans first. The best source of information is likely the platform specification document.
Hope this helps. Reza Rahman Jakarta EE Ambassador, Author, Blogger, Speaker
Please note views expressed here are my own as an individual community member and do not reflect the views of my employer. On Mar 29, 2021, at 6:05 AM, Som Lima <somplasticllc@xxxxxxxxx> wrote:
Further official documentation
I loaded code examples in netbeans ide and it had a strike through line meaning it is deprecated.
The netbeans is the best indicator because deprecated code is programmed into the IDE.
Also it is indicated here aswell.
Hi,
Why do you think jakarta.annotation.ManagedBean [1] has been deprecated?
Thanks,
Jan
|
Jakarta Annotations. Contribute to eclipse-ee4j/common-annotations-api development by creating an account on GitHub.
|
Hi,
I believe the following code in the jakarta jersey reference examples has been deprecated and should not be part of jakarta.
If that is the case You may to wish to look into it.
I have identified the files in question using the *.nix scripting language (A flexible therefore a powerful tool).
import jakarta.annotation.ManagedBean;
@ManagedBean
$ grep -RiIl '@ManagedBean'
managed-beans-webapp/src/main/java/org/glassfish/jersey/examples/managedbeans/resources/ManagedBeanSingletonResource.java
managed-beans-webapp/src/main/java/org/glassfish/jersey/examples/managedbeans/resources/ManagedBeanExceptionMapper.java
managed-beans-webapp/src/main/java/org/glassfish/jersey/examples/managedbeans/resources/ManagedBeanPerRequestResource.java
managed-beans-webapp/README.MD
helloworld-weld/src/main/java/org/glassfish/jersey/examples/helloworld/App.java
cdi-webapp/src/main/java/org/glassfish/jersey/examples/cdi/resources/MySingletonResource.java
cdi-webapp/src/main/java/org/glassfish/jersey/examples/cdi/resources/MyOtherResource.java
cdi-webapp/src/main/java/org/glassfish/jersey/examples/cdi/resources/HelloWorldResource.java
cdi-webapp/src/main/java/org/glassfish/jersey/examples/cdi/resources/EchoParamFieldResource.java
cdi-webapp/src/main/java/org/glassfish/jersey/examples/cdi/resources/EchoParamResource.java
cdi-webapp/src/main/java/org/glassfish/jersey/examples/cdi/resources/EchoParamConstructorResource.java
Quick grep explanation:
-R - recursive search
-i - case-insensitive
-I - skip binary files
-l - print a simple list as output.
_______________________________________________
jersey-dev mailing list
jersey-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jersey-dev
_______________________________________________jersey-dev mailing listjersey-dev@xxxxxxxxxxxTo unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jersey-dev
|