GWT 客户端和服务器

发布于 2024-09-12 02:20:45 字数 198 浏览 2 评论 0原文

我相信 GWT 通过最初抛出来实现 RIA 对象和文件最初发送到客户端。但我不知道什么 理解的是是否可以控制信息量 被扔到客户端?因为这是因为我不想 敏感信息缓存在客户端。这些 仅当请求时才从服务器检索信息。 这些信息仅应在以下情况下发送给客户: 已请求且不应在客户端缓存。有人吗 知道是否可以控制发送的信息量 给客户?谁能启发我吗?将不胜感激你的帮助 真挚地。

I believe that GWT achieves RIA through initial throwing of
objects and files to the client side initially. but what I do not
understand is that is it possible to control the amount of information
being thrown to the client side? cos this is because I do not want
sensitive information to be cache at the client side. these
information shall only be retrieved from server when requested.
these information should only be sent to the client only when
requested and should not be cached at the client side. does anyone
know if it is possible to control the amount of information being sent
to the client? can anyone enlighten me? would appreciate your help
sincerely.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

世俗缘 2024-09-19 02:20:45

看看您是否不想在客户端公开特定信息,然后将其保留在服务器端,无论何时您需要该信息,然后使用 RPC 调用,您都可以在服务器端获取它。gwt 仅在客户端信息上缓存图像等内容。它不会缓存数据库或服务器端中存在的信息。因此您无需担心它。如果您想要更高的安全性,那么您可以使用加密和解密算法。如果您遵循 mvc 等设计模式,那么这将是非常好的编程实践。我创建了一个示例应用程序,因此如果您愿意,可以从 这里

See if you dont want to expose particular information on client side then keep it on server side and whenever you want that information then using RPC call you can get it on server side.And gwt cache things like images etc that on client side information only.It is not caching your information which is present in lets say database or server side.So you dont need to worry about it.And if you want more security then you can use encryption and decryption algorithms.And if you follow design patterns like mvc then that will be very good programming practice.I created one sample application so if you want you can take checkout from here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文