13 Ekim 2021 Çarşamba

JSF @RequestScoped Anotasyonu - Kullanmayın

Giriş
Şu satırı dahil ederiz. JSF yerine her zaman CDI kullanılmalı
import javax.faces.bean.RequestScoped;
Açıklaması şöyle 
It is a historical accident that there are two separate mechanisms, CDI beans and JSF managed beans, for beans that can be used in JSF pages. We suggest that you use CDI beans unless your application must work on a plain servlet runner such as Tomcat.

Hiç yorum yok:

Yorum Gönder