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

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
主站蜘蛛池模板: 芜湖县| 乌鲁木齐县| 剑川县| 刚察县| 勃利县| 城市| 苏尼特左旗| 五大连池市| 昭苏县| 东乌珠穆沁旗| 祁连县| 太湖县| 海原县| 绥宁县| 斗六市| 廊坊市| 富民县| 通州市| 绥江县| 喀喇沁旗| 威宁| 福建省| 宜阳县| 宁陕县| 资阳市| 石嘴山市| 莫力| 道真| 东乡| 南宫市| 宁化县| 双峰县| 西乌珠穆沁旗| 颍上县| 大冶市| 涟源市| 南通市| 抚顺县| 抚远县| 泸西县| 曲阜市|