- 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
推薦閱讀
- 新媒體跨界交互設(shè)計(jì)
- 網(wǎng)絡(luò)服務(wù)器配置與管理(第3版)
- 基于Proteus和Keil的C51程序設(shè)計(jì)項(xiàng)目教程(第2版):理論、仿真、實(shí)踐相融合
- Getting Started with Qt 5
- 電腦組裝、維護(hù)、維修全能一本通(全彩版)
- 硬件產(chǎn)品經(jīng)理成長手記(全彩)
- 計(jì)算機(jī)組裝與維修技術(shù)
- 嵌入式系統(tǒng)中的模擬電路設(shè)計(jì)
- 數(shù)字媒體專業(yè)英語(第2版)
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)案例教程(Windows 7+Office 2010)
- 電腦主板維修技術(shù)
- 計(jì)算機(jī)組裝與維護(hù)立體化教程(微課版)
- 電腦軟硬件維修寶典
- 微處理器及控制電路識(shí)圖
- 基于STM32的嵌入式系統(tǒng)應(yīng)用