Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Does Vaadin make sense with Spring MVC (or any other MVC like Struts2)

Nachiket Patel
1 decade ago Mar 04, 2010 2:57pm
Joonas Lehtinen
1 decade ago Mar 05, 2010 9:05pm
Marco Missfeldt
1 decade ago Mar 08, 2010 2:09pm

I disagree with Jonas opinion.

I am assuming that your application has a significant complexity and size, not just the usual demo-stuff.

So you want to use the MVC-pattern - great, I fully agree! This is always a good thing for separation of concerns.

I have a really long experience with writing and using MVC-Frameworks, and my strong advice is to always keep a kind of abstract perception to the views. Whether you use Vaadin, Swing, SWT, whatever... why should you change your way of implementing controllers? If your UI-components both contain controller- and view-logic, it will be hard to recognize the part "controller" and it's responsibilities in it... and even worse: If you want to support more UI-systems than Vaadin you can't easily keep and reuse your controller-logic.

Yes sure, it's more effort at the beginning, but later you will have more modularity, clarity and flexibility.

Cheers,
Marco

Last updated on Mar, 8th 2010
Nachiket Patel
1 decade ago Mar 08, 2010 4:39pm
v w
1 decade ago Mar 12, 2010 1:24am
Maxime Hochet
1 decade ago May 21, 2010 2:22pm
Maxime Hochet
1 decade ago May 21, 2010 2:23pm
Maxime Hochet
1 decade ago May 21, 2010 2:23pm
Maxime Hochet
1 decade ago May 21, 2010 2:24pm
Marcin Koziarski
9 years ago Aug 31, 2012 4:18pm
Kirk Rasmussen
9 years ago Oct 01, 2012 5:07pm
Jani Laakso
9 years ago Oct 09, 2012 7:55pm