使用DWR从服务器端控制器/模型隔离客户端视图 [英] Isolating client-side view from the server-side controller/model using DWR

查看:129
本文介绍了使用DWR从服务器端控制器/模型隔离客户端视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看了一下 DWR 来托管远程客户端服务器通信。是否有一种机制,我可以将html文件(实际存在于外部客户端机器)连接到服务器端存在(物理)的POJO?

我的意图是让外部客户端更改视图,让他们访问在dwr.xml中定义的类。

如果我的意图没有明确提出,请让我知道。

I had a look at DWR for hosting remote client server communication. Is there a mechanism where I can connect an html file (physically present at an external client machine) to a POJO present (physically) at the server side?
My intention is to let external clients change the view but give them access to the classes defined in dwr.xml.
please let me know if my intentions are not clearly put up.

推荐答案

感谢Michel,感谢您的回应。
好​​的,我做了一些研究,发现 DWR跨域支持是最适合我的要求。我想要一个机制,我可以给我的客户一个选项有自己的视图,但仍然使用我的服务器中的控制逻辑。

Thank you Michel, for your response. Okay, I did some research and found DWR Cross domain support is the most apt for my requirement. I wanted a mechanism where I could give an option to my customer to have their own view but still use the control logic placed in my server.

这篇关于使用DWR从服务器端控制器/模型隔离客户端视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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