将 MVC 引入 Vaadin 应用程序
最近我们正在开发基于 Vaadin 和 Spring(核心)的 Web 应用程序。现在我们正在努力使其变得更好:)我们的主要问题是生成具有大量数据的屏幕的速度非常慢。 (我们使用了 CustomLayout,但它仍然不是我们正在寻找的东西)
我最近在考虑仅针对这几个屏幕集成 Spring MVC。我的问题是“我该怎么做”?你知道我应该开始吗? 我找到了这个线程,但这不是我所期望的。
你们知道我该怎么做吗?
谢谢 卢卡斯
Recently we were developing web application based on Vaadin and Spring (Core). Now we are trying to make it better :) Our main problem is very slow generation of screens with big amount of data. (We used CustomLayout but it still not the thing we were looking)
I was thinking recently about integrating Spring MVC for only this few screens. And here goes my question "how can I do that"? Do you have any idea were should I start ?
I found this thread, but it is not what I was expected.
Do you guys have any idea how can I do this ?
thx
Lukasz
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
回答这部分问题“生成大量数据的屏幕非常慢”,您可以尝试使用 fastlayouts附加组件,它应该改善组件渲染时间和惰性查询容器附加组件允许您“懒惰”地将项目加载到例如表格或您需要的某些位置。
“仅针对这几个屏幕集成Spring MVC”您能解释一下这部分吗,因为据我了解您只想为某些“视图”集成Spring MVC,这意味着Spring应该仅在选择此“视图”的情况下进行初始化,我说得对吗?
Answering for this part of question "very slow generation of screens with big amount of data", you can try to use fastlayouts Add-on, it should improve component rendering time and lazy query container Add-on with allow you to "lazy" load item into, for example, table or some where you need.
"integrating Spring MVC for only this few screens" can you explain this part, because as I understand you want to integrate Spring MVC only for some "view", it mean Spring should be initialize only in case if this "views" were selected, am I right?