官术网_书友最值得收藏!

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
主站蜘蛛池模板: 克东县| 旬阳县| 卫辉市| 饶河县| 米泉市| 日喀则市| 新蔡县| 新民市| 隆德县| 马尔康县| 肥城市| 平邑县| 东丽区| 泾阳县| 兴山县| 望江县| 长宁区| 榆林市| 原阳县| 区。| 安多县| 韩城市| 东丽区| 闻喜县| 阳山县| 金秀| 上虞市| 都匀市| 四平市| 广丰县| 东方市| 丘北县| 屏东县| 静乐县| 土默特右旗| 绵阳市| 天台县| 定远县| 海兴县| 石柱| 荥经县|