您建议将哪个 JavaScript 库与 Java EE 一起使用? Struts + 伊巴蒂斯?

发布于 2024-07-09 09:04:24 字数 1560 浏览 6 评论 0原文

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

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

发布评论

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

评论(4

柠北森屋 2024-07-16 09:04:24

有一个框架应该与 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 ;)

相思故 2024-07-16 09:04:24

这是一篇关于 面向 Java 开发人员的 Dojo

Here's a good article on Dojo for Java Developers.

萌辣 2024-07-16 09:04:24

您必须根据您对库的期望来选择 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.

一人独醉 2024-07-16 09:04:24

建议您使用 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..

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