桌面兼容的 Java Web 框架
我需要一个用于 Web 开发的 Java 框架,具有以下特性:
丰富的图形 UI; 适用于大多数已知 IDE(Eclipse 或 Netbeans)的开发工具; 免费(最好是非 GPL); 大型社区; 使用相同的代码轻松生成 Web/桌面/移动设备。
经过一番研究,我们找到了 ZK Framework,但我们不知道是否可以针对桌面或移动设备进行编译。
谢谢
I need a Java Framework for Web development with these caractheristics:
Rich graphical UI;
Development tools available for most known IDE (Eclipse or Netbeans);
Free (preferencially non GPL);
Large community;
Easy to generate Web/Desktop/Mobile with the same code.
After some research we've found ZK Framework but we couldn't understand if we can compile for desktop or mobile.
Thnks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
ZK Mobile 是在 Java Mobile(或 Android API)上运行的本机客户端。它不需要现代浏览器,但据我所知,只有一组有限的组件(更不用说 Ajax 组件的数量)。
ZK Mobile is a native client running on Java Mobile (or Android API). It does not require a modern browser, but, as I know, there is only a limited set of components (much less the number of Ajax components).
如果存在一个框架,可以将相同的 GUI 代码用于 Web/桌面和移动应用程序,我会感到非常惊讶。您的应用程序的服务和模型层应该可以重用,没有任何问题,但您不能指望 JSP 能够显示在 swing 或 android 应用程序中。
我还不知道 ZK,看起来不错,但我猜移动部分是用于移动网络浏览器而不是移动应用程序。
您还可以考虑 vaadin、GWT 或 apache wicket。
I would be seriously surprised if a framework exist where the same GUI code can be used for web/desktop and mobile apps. The service -and model layer of your application should be reusable without any problem but you can't expect JSP's for isntance to be displayed in a swing or android application.
I didn't know ZK yet, looks nice but I guess there mobile part is intended for mobile webbrowsers and not mobile applications.
You could also consider vaadin, GWT or apache wicket.
我建议您认真考虑 GWT。虽然它不是移动客户端的最佳选择,但如果您的移动设备的浏览器可以执行 javascript,则 gwt 应用程序可以在您的移动设备中执行。但我应该再次表示,本机移动应用程序比基于浏览器的移动应用程序是更好的选择。
I would recommend you to consider GWT seriously. Although it is not the best choice for mobile clients, gwt applications could be executed in your mobile device , if your mobile device's browser can execute javascript. But again I should express that native mobile applications would be better choice than browser based mobile applications.