Vaadin
j2cl
Our great sponsors
Vaadin | j2cl | |
---|---|---|
41 | 9 | |
1,766 | 1,162 | |
0.1% | 1.2% | |
5.3 | 9.7 | |
2 days ago | 1 day ago | |
Java | Java | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Vaadin
- Java Swing?!
-
The conjunction of the web
But how do we explain the complexity of the current toolset? This is where the Law of the instrument kicks in: "If the only tool you have is a hammer, it is tempting to treat everything as if it were a nail.". Even if JavaScript was born in the web, JavaScript centered frameworks do not fit properly in the web. That is why we have huge bundles of JavaScript, that is why RSC are necessary (things like RSC were already a thing in Vaadin) and that is how JavaScript became the Birmingham screwdriver.
- Ask HN: Why is web development such a daunting task?
-
The Dart Side Blog by OnePub – How and when to use isolates – part 2
Off-topic but this blog is using https://vaadin.com, that's the first time I am seeing this framework being used!
-
A front-end programming language that don't need html/css, do you know one ?
But there are frameworks like GWT or Vaadin for Java, but none of them really took off afaik, I've never seen a job posting with either of these.
-
Always-Listening Voice Commands for Vaadin web applications
This small tutorial takes 15 minutes from the start to a working demo. We use Picovoice Porcupine Wake Word Engine to enable a Vaadin-based Java web application.
-
Not a Vaadin developer, yet? Try to guess what this code is doing …
Are you a long-time Java developer using Spring-related tech stack? Vaadin can bring a fresh brief of the air into your daily development routines.
-
7 years with Vaadin (+SpringBoot) in production. Do we still enjoy it?
It’s been 7 years since we deployed our first Vaadin app for production. The whole process has been more than interesting. We developed the application according to an analysis (several modules for the agenda in the field of local government) based on a verbal assignment. The customer started testing on our server and after 2 months found only 3 bugs and requested 2 modifications beyond the original brief. Once implemented, we installed it at the customer’s site. The application started for the first time and is still running :-).
-
The Future (and the Past) of the Web Is Server Side Rendering
> Slightly off topic, but I found JSF the most productive out of any framework.
In my experience, it has been a horrible technology (even when combined with PrimeFaces) for complex functionality.
When you have a page that has a bunch of tabs, which have tables with custom action buttons, row editing, row expansion, as well as composite components, modal dialogs with other tables inside of those, various dropdowns or autocomplete components and so on, it will break in new ways all the time.
Sometimes the wrong row will be selected, even if you give every element a unique ID, sometimes updating a single table row after AJAX will be nigh impossible, other times the back end methods will be called with the wrong parameters, sometimes your composite components will act in weird ways (such as using the button to close a modal dialog doing nothing).
When used on something simple, it's an okay choice, but enterprise codebases that have been developed for years (not even a decade) across multiple versions will rot faster than just having a RESTful API and some separate SPA (that can be thrown out and rewritten altogether, if need be).
Another option in the space is Vaadin which feels okay, but has its own problems: https://vaadin.com/
Of course, my experiences are subjective and my own.
-
Happy path: Publishing a Web Component to Vaadin Add-on Directory
Did you find an excellent custom element that would make sense in your Vaadin Java web application? Maybe that is a web component that you previously published yourself in npmjs.com?
j2cl
- Google/j2cl: Java to Closure JavaScript transpiler
- CheerpJ 3.0: a JVM replacement in HTML5 and WASM to run Java on modern browsers
- Creating a incremental game in Java
-
When this will come to Java or when will the work start for this?
There are many open source projects like, https://github.com/google/j2cl/tree/master/samples/wasm
-
Using Java for the front-end of a web app in 2022
This was a grand stroll down memory lane; having hacked Java since JDK 1.0, I've seen a lot of improvement.
An idle thought: he favors server-side rendering whereas the javascripts seem to favor client-side rendering. Along the way doing servlets, there came to be "view first" rendering, where you use serverside to paint a minimal page which, itself, uses ajax calls to fill in the blanks. I used that a lot.
It's true also that I migrated from servlets to node. But, in all of this, clojurescript erupted on the scene. And, for me, that's where the piece gets interesting: he introduces us to a java to clojurescript transpiler and tells us it was used to craft the google app suite. Now it's time to go play [1]
[1] https://github.com/google/j2cl
- J2CL – Java to Closure JavaScript Transpiler Used by Gmail and Docs
-
Three.js for Java devs: J2CL, Closure, Bazel, etc ...
So it looks like we have pretty much everything except for the most important part: three.js that we can use from Java. And it’s a little bit of a complex part. To interop with JavaScript we should use J2CL JsInterop API, but there is a little problem: Closure Compiler must be able to recognize types of (most of the) three.js objects. Here we have two options:
-
the only reason java is still relevant is because it is shoved down the throats of high schoolers and college students
You mean https://github.com/google/j2cl ? You understand though that these are trying to solve multiplatform in very different ways. I don't think this approach has a bright future.
-
Front end development for java.
Have you seen J2CL? https://github.com/google/j2cl
What are some alternatives?
PrimeFaces - Ultimate Component Suite for JavaServer Faces
jsweet - A Java to JavaScript transpiler.
Apache Wicket - Apache Wicket - Component-based Java web framework
Graal - GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
ZK - ZK is a highly productive Java framework for building amazing enterprise web and mobile applications
tsickle - Tsickle — TypeScript to Closure Translator
Spring - Spring Framework
webfx - A JavaFX application transpiler. Write your Web Application in JavaFX and WebFX will transpile it in pure JS.
Spring Boot - Spring Boot
bazel-vscode-java - Bazel Java development extension for VS Code
jwt - Java Web Toolkit
molecule - Build a StateFlow stream using Jetpack Compose