- Mastering JavaServer Faces 2.2
- Anghel Leonard
- 156字
- 2021-12-08 12:41:29
Chapter 3. JSF Scopes – Lifespan and Use in Managed Beans Communication
If programming is an art, then working correctly with scopes is a part of it!
This affirmation is generally true, not just in JSF. Should I use the session scope now, or the request scope? Do I have too many session beans? Can I inject this scope into that scope? Is this session object too big? How many times have you asked yourself these kinds of questions? I know ... many times! Maybe in this chapter you will find answers to some of these questions and you will fortify your knowledge about working with JSF scopes.
We have a lot to accomplish; therefore, let's have a short overview of what you will see in this chapter:
- JSF scopes versus CDI scopes
- Request scope, session scope, view scope, application scope, conversation scope, flow scope, none scope, dependent scope, and custom scope
- Beans injection
推薦閱讀
- Arduino入門基礎教程
- 龍芯應用開發(fā)標準教程
- AMD FPGA設計優(yōu)化寶典:面向Vivado/SystemVerilog
- 電腦維護365問
- scikit-learn:Machine Learning Simplified
- Hands-On Machine Learning with C#
- 分布式微服務架構:原理與實戰(zhàn)
- R Deep Learning Essentials
- Practical Machine Learning with R
- 基于PROTEUS的電路設計、仿真與制板
- 單片機原理及應用
- 筆記本電腦的結構、原理與維修
- Advanced Machine Learning with R
- 計算機組裝與維護
- 嵌入式系統(tǒng)原理:基于Arm Cortex-M微控制器體系