将 MVC 引入 Vaadin 应用程序

发布于 2024-12-05 05:00:56 字数 336 浏览 2 评论 0原文

最近我们正在开发基于 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 技术交流群。

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

发布评论

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

评论(1

辞慾 2024-12-12 05:00:56

回答这部分问题“生成大量数据的屏幕非常慢”,您可以尝试使用 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?

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