JSF 2.0中的多个客户端的概念证明 [英] proof of concept for multiple clients in JSF 2.0

查看:155
本文介绍了JSF 2.0中的多个客户端的概念证明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须为JSF 2.0中的多客户机处理实现概念证明.如何在jsf中处理多个客户端?

I have to implement a Proof of concept for multi client handling in JSF 2.0. How can multiple clients be handled in jsf?

推荐答案

仅不要将请求或会话范围的数据存储在放置在应用程序范围内的托管bean中.同样,不要声明应该存在的请求或会话范围的bean的属性,只要bean本身的生存期为static.

Just do not store request or session scoped data in a managed bean which is placed in the application scope. Also just do not declare the properties of a request or session scoped bean which is supposed to live as long as the bean itself as static.

与基本的Servlet API完全相同.

It's under the hoods not different from the basic Servlet API.

这篇关于JSF 2.0中的多个客户端的概念证明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆