Live data from Hacker News

React-material-ui with a pure Java stack

github.com

1–10 of 23 posts

Re: React-material-ui with a pure Java stack

#3

ah! the memories of when I ran ember on rhino within a servlet container. fun thing was that some javascript reserved words are allowed in node and widely used. had to write a nodejs to vanillajs converter.

Oracle plans to replace Nashorn with V8 due to lack of manpower.

Check this year's Java Languages Summit.

Re: React-material-ui with a pure Java stack

#5

I'm slightly confused, what is the use case for this? It says "no npm, babel, etc" but then it goes and downloads the packages for you.

Lots of places are Java™ shops, and adding new shiny stuff from the NodeJS ecosystem for frontend work can be difficult. I couple years ago I had to build a weird multi-step build bridge between babel and the Grails asset pipeline. A pure JVM implementation would probably make this sort of thing less painful for a lot of companies.

Re: React-material-ui with a pure Java stack

#6
post #5

I'm slightly confused, what is the use case for this? It says "no npm, babel, etc" but then it goes and downloads the packages for you.

Lots of places are Java™ shops, and adding new shiny stuff from the NodeJS ecosystem for frontend work can be difficult. I couple years ago I had to build a weird multi-step build bridge between babel and the Grails asset pipeline. A pure JVM implementation would probably make this sort of thing less painful for a lot of companies.

[deleted]

Re: React-material-ui with a pure Java stack

#7
post #3

ah! the memories of when I ran ember on rhino within a servlet container. fun thing was that some javascript reserved words are allowed in node and widely used. had to write a nodejs to vanillajs converter.

Oracle plans to replace Nashorn with V8 due to lack of manpower. Check this year's Java Languages Summit.

Video with more info: https://www.youtube.com/watch?v=-JLhwsbMvjQ

Re: React-material-ui with a pure Java stack

#8
post #3

ah! the memories of when I ran ember on rhino within a servlet container. fun thing was that some javascript reserved words are allowed in node and widely used. had to write a nodejs to vanillajs converter.

Oracle plans to replace Nashorn with V8 due to lack of manpower. Check this year's Java Languages Summit.

You can use J2V8 to use V8 for now too:

https://github.com/eclipsesource/J2V8

I prefer it's very cut and dry boundaries between Java and JS to Nashorn which tries to help by bridging Java into JS (but complicates both in the process)

Re: React-material-ui with a pure Java stack

#9
post #5

I'm slightly confused, what is the use case for this? It says "no npm, babel, etc" but then it goes and downloads the packages for you.

Lots of places are Java™ shops, and adding new shiny stuff from the NodeJS ecosystem for frontend work can be difficult. I couple years ago I had to build a weird multi-step build bridge between babel and the Grails asset pipeline. A pure JVM implementation would probably make this sort of thing less painful for a lot of companies.

Ah ok, so this makes it easier to integrate react into the view layer for a traditional java mvc application is that right?

Re: React-material-ui with a pure Java stack

#10
post #3

ah! the memories of when I ran ember on rhino within a servlet container. fun thing was that some javascript reserved words are allowed in node and widely used. had to write a nodejs to vanillajs converter.

Oracle plans to replace Nashorn with V8 due to lack of manpower. Check this year's Java Languages Summit.

What? Where did they say that in that talk? They simply showed a way to execute native code with V8, so it's easier to run node on nashorn. Stop spreading misinformation.
Post reply on HN