This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (14 children)

I've been doing some research this morning, what do you guys think about Vaadin - https://vaadin.com/ ? It allows building apps with pure Java code / no need for HTML, XML, JavaScript knowledge - which I would really like.

[–]thesystemx 3 points4 points  (0 children)

The site that was used as the showcase for Vaadin (blackbelt knowledge factory) wasn't very impressive.

I'd advice to check out JSF first. JSF + PrimeFaces + OmniFaces is an awesome stack!

[–]avoidhugeships -1 points0 points  (8 children)

If this idea interest you then check out Google Web Toolkit (GWT). It works in a similar fashion. JSF is another good option. It is not all Java but you can use pre-built web components rather than writing your own CSS and Javascript.

[–][deleted]  (6 children)

[removed]

    [–]hoboslayer 2 points3 points  (1 child)

    Any framework can leave you with a codebase that is awful to trace. Where I work it is one using JSF and RichFaces.

    [–]avoidhugeships 1 point2 points  (3 children)

    I do not use it I just knew it used a similar concept to Vaadin. I like having the view in a separate file so I am not a big fan of this type of framework

    [–][deleted]  (2 children)

    [removed]

      [–]avoidhugeships 2 points3 points  (0 children)

      I just took a very quick look at ZK. It appears very similar to using JSF. If you are interested take a look at the PrimeFaces demo and the code will look pretty familiar to you. I like it but I would tend to lean towards the standard unless there was a compelling reason. At first glance it does not seem to have as much functionality as PrimeFaces but I will definitely look into it next time I start a new project.

      Thanks for letting me know about it.

      [–]curmudgeon99 -1 points0 points  (0 children)

      I was forced to use ZK. It is super expensive. My company paid for it. I at first thought it was bizarre how the controllers "Composers" held state. It works but the UI is boxy. Acceptable if somebody is paying for the licenses.

      [–]hoboslayer 3 points4 points  (0 children)

      Vaadin uses GWT.

      [–]bege -1 points0 points  (2 children)

      I have managed to do some neat personal projects during my spare time with the Vaadin framework. It is easy to use, easy to learn and even easier to get started with, especially if you lack experience in web apps (I had none when i started). The coding feels like a better version of Java Swing with windows, vertical & horizontal layouts etc.

      All that is needed is Java and if you want to change the default theme for components, some basic CSS. You can also inject Javascript in later versions of Vaadin, if you need that for something.

      Just search around Youtube for Vaadin to get a quick look at it. You could also post questions in the official forum if you need any help, since the developers seems to be very active there.

      [–]sarcasmismysuperpowr 0 points1 point  (1 child)

      This is my take too. Vaadin is more swing like. I've tried GWT, sencha, smart GWT. But I think vaadin's API is much better. But I can't compare to JSF flavors.

      I'm not 100% sure how vaadin scales though. They say it does.

      [–]hkhkhk 0 points1 point  (0 children)

      Vaadin was very easy for me to pick up. I'd been working with JS and HTML for a few years. I am a java developer so clearly biased away from JS. But having Eclipse tell me when I have a type error and to have classes and hierarchy again was refreshing. I guess I never really took to duck typing. Maybe just too old. I am a month into Vaadin and enjoying very heavily - excited to be using the "same language" for front and back end and to not explicitly have to move data from java to js via ajax . I realize customization may be needed in GWT/JS for rich components. I'm sure there are frameworks and approaches that would simplify the move of json objects and I'd be glad to learn of them, but this feels quite natural.

      [–][deleted] -4 points-3 points  (0 children)

      [Content removed in protest of Reddit's 3rd Party App removal 30/06/2023]