用于创建 Ajax 网站的 Java 框架(相对于 Web 应用程序)
我正在寻找一个java框架来开发一个网站,该网站将包含各种AJAXy风格的组件,但在页面之间切换时将使用传统的页面刷新。我知道有很多基于 java 的框架用于构建 Web 应用程序(GWT、ZK 等),但据我所知,这些框架适合构建 swing 风格的 Web 应用程序,而不是使用 Ajax 组件的传统网站。
所以我的问题是你建议在这种情况下使用什么java框架?
I'm looking for a java framework to develop a website that will contain various AJAXy style components on it, but will use tradition page refreshes when switching between pages. I understand that there are a lot of java based frameworks for building web applications (GWT, ZK etc.) but from what I can see these are good for building swing style web applications rather than traditional websites with Ajax components.
So my question is what java frameworks would you suggest using for this case?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
几乎任何(好的)JS 组件库都允许您将库组件(UI 小部件)插入到多页面应用程序中。
它们插入页面的 DOM 中(通常将它们绑定到页面上的某些占位符 div 标签)。
通常,您的页面加载并在加载时,您实例化(启用 AJAX 的)UI 组件并将 寻找能够协同工作的库或库组合
-拥有您正在寻找的 UI 小部件。
- 与 Java 集成(相当容易)。
我想到了以下可能的选项:
我确信还有更多选项,但上面列出的选项是我在生产项目中成功使用的选项。
Almost any (good) JS component library will allow you to insert the library components (UI widgets) into your multi page application.
Typically, your page loads and on load, you instantiate the (AJAX enabled) UI components and insert them into the page's DOM (usually bind them to some placeholder div tags on the page)
With the above concept out of our way, you want to look for a library or combination of libraries working together that
-Have the UI widgets you are looking for.
-Integrates (fairly easily) with Java.
Following possible options come to my mind
I am sure there are a lot more options but ones listed above are the ones that I have used successfully on production projects.