Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ファイルを読み取り、解析し、別のファイルを出力する JSF に Singleton クラスを実装する必要があります。私の質問は、があるときに Singleton クラスを作成することは本当に理にかなっていますManagedBeanか? 私のJSFの理解によると、ManagedBean自体はSingletonクラスです。
ManagedBean
実際に Singleton クラスを作成できる場合、JSF コードは常に ManagedBean と対話するため、どのように使用できますか?