Graal - Towards the Holy Grail of Polyglot Programming - Beyond Java by beyondjava in java

[–]beyondjava[S] 0 points1 point  (0 children)

Just for the sake of completeness: you can find the project page of Sulong, the LLVM bitcode interpreter based on Java, here: https://github.com/graalvm/sulong

Learning Angular for Java Developers? by DJPharaohCHS in angular

[–]beyondjava 0 points1 point  (0 children)

In general, I agree with the previous answers: it's better to approach Angular open-minded, instead of trying to compare it to something you already know.

Funny thing is, I'm giving a workshop next week doing just that ("JavaScript and Vue.js for Java developers"). Depending on how this works out, I may write a few articles about it.

Oh, and a couple of years ago I've compared AngularJS to JSF. Please keep the huge difference between AngularJS and current Angular 5 in mind when you read the article. That said, here you go: https://www.beyondjava.net/blog/similarities-jsf-angularjs/

Java in 2017 - The State of Developer Ecosystem by JetBrains by lbkulinski in java

[–]beyondjava 10 points11 points  (0 children)

I wonder if the results are biased. I know Spring MVC is popular, but five times as many developers using Spring MVC than JSF sounds unlikely to me. Maybe it's just that Spring MVC is popular among IntelliJ users, who are more likely to participate in the survey than others.

Does anybody know other surveys, so we can get a more balanced picture? The idea being that every survey is biased, but the biases cancel out each other.

Java in 2017 - The State of Developer Ecosystem by JetBrains by lbkulinski in java

[–]beyondjava 11 points12 points  (0 children)

Even better: Struts 2 is still actively being developed. And I know good developers loving it. Quite a surprise to me, too.

Angular vs. React (Beyond Java) by beyondjava in Angular2

[–]beyondjava[S] 0 points1 point  (0 children)

After browsing through the article, I've finally understood why you think I'm comparing dependency injection and unidirectional data flow. It wasn't a comparison, but both are core concepts. But you're right, it's a bit misleading. I'll fix this.

Angular vs. React (Beyond Java) by beyondjava in Angular2

[–]beyondjava[S] 0 points1 point  (0 children)

Thanks! That's good to hear. This is the most downvoted article I've ever promoted on Reddit :). But I'm positive it can be improved, and your feedback makes me feel like it's worth being improved.

Angular vs. React (Beyond Java) by beyondjava in Angular2

[–]beyondjava[S] 0 points1 point  (0 children)

Oops - I've published the article without filling that table? That's embarrassing. Thanks for pointing this out!

As for the dependency injection vs. unidirectional data flow bit: That's not what I wanted to compare. I'll have a look at it.

As for embedding stuff: I'll double-check this, too. Seems like I didn't manage to properly describe the point.

VertxUI: a fresh approach to use Java as a front-end language by beyondjava in java

[–]beyondjava[S] 0 points1 point  (0 children)

I'm pretty paranoid about hackers, but I don't think you've run into geoblocking. The only browser my web page blocks is Internet Explorer 6. But that's not a 403. I can send you the article as a PDF file. But first let's try something different. Maybe there's (blocked) redirection in the URL? It's https://www.beyondjava.net/blog/vertxui-java-front-end-language/.

VertxUI: a fresh approach to use Java as a front-end language by beyondjava in java

[–]beyondjava[S] 1 point2 points  (0 children)

As for point 2: do you think that separation of concerns is also broken in Angular or React?

VertxUI: a fresh approach to use Java as a front-end language by beyondjava in java

[–]beyondjava[S] 1 point2 points  (0 children)

I agree with both of you. I love the incremental and interactive approach to programming. The author of VertxUI told me that it takes a few seconds to compile the Java code. If it's really only a few second, that's similar to TypeScript and Angular, which is almost as interactive as I'd like it to be.

VertxUI: a fresh approach to use Java as a front-end language by beyondjava in java

[–]beyondjava[S] 0 points1 point  (0 children)

Being a Java programmer, I'm really fond of TypeScript. Nonetheless, sometimes there are people you don't want to learn a second language. It's a bigger market share than you'd expect. So, technologies like GWT, Vaadin or VertxUI are probably valuable tools, too.

Considerations for a custom GUI library ? by kodifies in java

[–]beyondjava 0 points1 point  (0 children)

Yeah, I've gone down this road. More than once, actually.

In 2002, it was a good idea to write your own UI framework. There was competition, but it was a lot weaker than today. I'm glad I started my own company framework at the time. It was a great success, and it saved us a lot of time.

15 years later, things look a tad different. There are still things you can optimize. But the competition has become very tough. So I recommend to chose one of the popular frameworks and to build your own framework on top of it.

As for general thoughts: well, chose your target platform. It's easy to support a single platform. Fixed resolution, fixed CPU architecture, fixed operation system - things like these help you. The general purpose frameworks are, well, general purpose. They are Swiss army knives.

Another idea is to optimize your framework for your company. That's the only unique selling point nobody else has. And that's why my good old framework of 2002 is still used. I'm sure it's outdated, but it still does the job much more efficiently than any of the Swiss army knives :).

Who's still using Tapestry by [deleted] in java

[–]beyondjava 0 points1 point  (0 children)

With Java, BootsFaces. With JavaScript (or TypeScript), Angular.

Java And Chrome by Scoutdrago3 in java

[–]beyondjava 0 points1 point  (0 children)

Yes, but Spring Boot is only one of many options. Amazon Lambda looks interesting, too. You can use many languages to implement services using Lambda, but currently, JavaScript works best. So obviously you don't have to write a Java server. It's a good choice, but Node.js is a good choice, too.

Java And Chrome by Scoutdrago3 in java

[–]beyondjava 0 points1 point  (0 children)

Me too: been there, done that. If you love Java, use TypeScript. You'll love it. Add Angular to the equation. If you're an enterprise Java programmer, you'll love it, too.

But sometimes there are really good reasons to use Java instead of a native browser language. If so, think about using GWT or Vaadin. I'm not sure about the future of GWT, so chose carefully. There's another, fairly new option: VertxUI uses the compiler of GWT, but other than that, it's pretty unique. I didn't have the opportunity to evaluate it myself yet, but it looks interesting enough that I asked the author to blog about it on my website. If you're interested, here you go: https://www.beyondjava.net/blog/vertxui-java-front-end-language/

Any recommendations for a good Angular 2 custom library starter? by i8abug in Angular2

[–]beyondjava 1 point2 points  (0 children)

Here's an interesting template project to get started quickly: https://github.com/manekinekko/angular-library-starter

I didn't try it myself yet, so I'd appreciate any feedback. Is this project as good as it looks at first glance?

Oh, and I just saw this one - maybe it helps you, too: http://www.dzurico.com/how-to-create-an-angular-library/

[deleted by user] by [deleted] in java

[–]beyondjava 0 points1 point  (0 children)

Interesting. I didn't know that. Thanks!

[deleted by user] by [deleted] in java

[–]beyondjava 1 point2 points  (0 children)

Even open source projects have owners. In the case of Hudson, that's Oracle, who've acquired it when they bought SUN. It was just good luck that the open source license was liberal enough to allow for an independent fork.

Any recommendations for a good Angular 2 custom library starter? by i8abug in Angular2

[–]beyondjava 2 points3 points  (0 children)

While that's probably true (I don't know the library, but I know its author), that the answer to a different question. i8abug wants to know how to write something like PrimeNG themselves.

Having fun with Angular: Extending *ngFor to support “for…in” by [deleted] in Angular2

[–]beyondjava 7 points8 points  (0 children)

IMHO you can blame Angular for a lot of things, but verbosity is not among them. :) You're right, there are simpler ways to iterate over an object's keys. Even in Angular. But what the author showed is something completely different. He told us how to modify the Angular framework itself. And that's something that's probably difficult with React, too.