We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
有一个框架应该与 Java 服务器/中间件很好地配合,称为 JSON-RPC
但是我从未使用过它,也无法保证它。除此之外,我最喜欢的框架是咳嗽 jQuery< /a>
编辑 仔细阅读后,JSON-RPC 并不完全是您正在寻找的东西..但它仍然可能对您研究有用;)
There exists a framework that is supposed to tie in nicely with Java Server/Middleware called JSON-RPC
However I have never used it and cannot vouch for it.. Aside from that my favourite framework is cough jQuery
edit after reading more closely, the JSON-RPC is not quite what you are looking for.. but it still might be useful for ya to look into ;)
这是一篇关于 面向 Java 开发人员的 Dojo。
Here's a good article on Dojo for Java Developers.
您必须根据您对库的期望来选择 Javascript 库,而不是根据服务器库。 典型的 JS 库(Ext JS、JQuery、Prototype、Dojo、YUI 等)在浏览器上工作,不依赖服务器技术。
如果您正在寻找一种通过 javascript 使用服务器 POJO 的方法,请查看 DWR。 该库现在是 dojo 基金会的一部分,但我已经轻松地将它与 jQuery 和 Prototype 一起使用。
You must choose the Javascript library based on what you expect from the library, not based on the server libraries. The tipical JS libraries (Ext JS, JQuery, Prototype, Dojo, YUI, etc) work on the browser and don't have any dependence on server tecnology.
If you are looking for a way to use your server POJO's from javascript take a look at DWR. This library is now part of the dojo foundation, but I've used it with jQuery and Prototype with ease.
建议您使用 Struts 2。它内置了 dojo,并且还可以选择插入其他库,如prototype、jquery、gwt、yui 等。
应该非常方便,因为您使用 Struts 作为 Web 层。
would suggest you go for Struts 2. It has built in dojo and also has options to plugin other libraries like prototype, jquery, gwt, yui, etc.
Should be really handy, since you're using Struts as your web layer..