它开始时和我们最终得到的东西很不一样,它原来的目标是开发一个对话作用域(conversation scope),最原始的任务是开发一个介于JSF和EJB3之间的对话域,全局JSF-EJB3集成也是其中之一。
基于12个网页-相关网页
conversation作用域内的bean需要更多技巧,因为它们基于对话令牌的存在而与HTTP请求相关联。
Conversation-scoped beans are trickier, though, because they are associated with an HTTP request based on the presence of the conversation token.
当处理conversation作用域内的bean时,您必须要能够在远程调用期间建立正确的对话上下文。
When you're working with conversation-scoped beans, you need to be able to establish the correct conversation context during the remote call.
引用conversation作用域内的bean不需要任何额外的工作,原因是这些bean总是对在同一个浏览器对话中发出的HTTP请求可用。
Referencing session-scoped beans requires no extra work because they are always available to an HTTP request made within the same browser session.
应用推荐