tern.java icon indicating copy to clipboard operation
tern.java copied to clipboard

WebkitTernServer via JavaFX

Open PhaserEditor2D opened this issue 10 years ago • 3 comments

Is it possible to run the tern server in the webkit bundled in JavaFX? Probably you tried it before but I think the question is valid :)

I was reading that Rhino and Nashorn has a poor performance but for me it has a lot of value a pure java server with an acceptable performance.

I don't know if the javafx web engine is open enough to do this. If you think it is possible maybe you can give me some tips and I can write some tests or a port to this server.

PhaserEditor2D avatar Nov 26 '15 20:11 PhaserEditor2D

Is it possible to run the tern server in the webkit bundled in JavaFX? Probably you tried it before but I think the question is valid :)

I don't know, any contribution are welcome!

I suggest you that you copy/paste Rhino tern server to adapt it with webkit bundled in JavaFX

angelozerr avatar Nov 26 '15 21:11 angelozerr

@boniatillo-com is there any chance that you work on this topic? Are you sure that it will be more fast than J2V8 or node.js?

angelozerr avatar Dec 05 '15 10:12 angelozerr

@angelozerr I don't know. Nodejs is performing so well that for now it is fine for me. When I reach the preview version of my editor I will get the time to contribute back to tern.java and I will look on this issues because yet I prefer a multi-platform and smaller-size solution.

PhaserEditor2D avatar Dec 07 '15 15:12 PhaserEditor2D