- 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
推薦閱讀
- Mastering Delphi Programming:A Complete Reference Guide
- 電腦軟硬件維修從入門到精通
- STM32嵌入式技術應用開發全案例實踐
- Creating Flat Design Websites
- 筆記本電腦維修300問
- 基于PROTEUS的電路設計、仿真與制板
- RISC-V處理器與片上系統設計:基于FPGA與云平臺的實驗教程
- “硬”核:硬件產品成功密碼
- Mastering Machine Learning on AWS
- USB應用開發寶典
- Blender for Video Production Quick Start Guide
- Learning Less.js
- Exceptional C++:47個C++工程難題、編程問題和解決方案(中文版)
- 超炫的35個Arduino制作項目
- Arduino+3D打印創新電子制作2