5 ms·
I'll probably be a minority here, but I'd say: java + Vaadin [1] + raw jdbc (no ORM nonsense). On Vaadin site, you can use starter [2] to create an app template
by dig1 5y ago
I'll probably be a minority here, but I'd say: java + Vaadin [1] + raw jdbc (no ORM nonsense). On Vaadin site, you can use starter [2] to create an app template. There is no need to write javascript; most Vaadin code looks like good old desktop programming. Due Java stability, that thing will run forever and will be performant.
If you want to be "cloud native" (or whatever cool name now is) in the future, you can later recompile it with graalvm [3] and produce a single, static binary, like cool kids these days does with golang and rust.
[1] https://vaadin.com/ https://vaadin.com/
[2] https://start.vaadin.com/app/ https://start.vaadin.com/app/
[3] https://www.graalvm.org/ https://www.graalvm.org/
- guru4consulting 5y agoTechnologies like JSF/Vaadin/GWT are obsolete now. They require sticky sessions, server-side state (gobbles huge memory), cumbersome and complex code for client side rendering (JSF is the worst offender here). The tech world has moved on and stateless light-weight dockers or serverless functions coupled with pure JS front-ends (react, vue, etc) are the new norms.
- algo_trader 5y ago+1 for good old Java, rock solid and just works for so many large, mission critical, and high performance (!) systems. As for vaadin - how far can u get without the pro version? None of the samples include a login, and the LoginView seems to be a PRO feature? It looks full of features.
- abraxas 5y agoVaadin is very nice but I would only recommend it when you can afford to keep the state server side. Vaadin works best when you can use sticky sessions
- sk5t 5y agoYes, it really doesn’t work at all without sticky sessions.
- dig1 5y agoI haven't checked LoginView, but I guess it will be a couple of text fields, a button with an attached event, maybe CSSLayout, and some javascript code for effects. Something you can easily get done quickly by following tutorials. PRO components are there you can get something fast with zero coding, but everything else is open source Vaadin.
- StreamBright 5y ago+1 Backend: Java, C#, F# Frontend: Svelte, React Deployment: AWS with Pulumi This yields to a pretty good TCO.
- lf-non 5y agoVaadin is interesting, and choice of java is ok (though I prefer Kotlin). But raw jdbc in 2022 is absolutely bonkers. If you don't prefer ORMs that's ok, but a light abstraction like SQLDelight or Spring data jdbc (if you prefer working with SQL) or a query builder like jOOQ (if you like type-safety) can make your life simpler by an order of magnitude.
- kriskrunch 5y agoI was hoping someone would mention Kotlin and Spring! Kotlin is a pleasure to code with. And Spring Boot simplifies Spring tremendously, https://start.spring.io/ https://start.spring.io/ Lots of documentation for Java/Spring out there, but somewhat lacking for Kotlin/Spring. Some IDEs help by automatically converting from Java to Kotlin, like IDEA InteliJ.
- lf-non 5y agoYup, Kotlin is absolutely a pleasure to work with. Actually, the spring official docs have kotlin compatibility sections and kotlin examples for most major projects now.