Hey Guys,So we're building a javascript executor at my work and the java devs are pushing towards not using node as the runtime to execute js. We have a java backend.I am looking for any tools or examples of this being implemented I can study and wrap my head around. The workflow is something like this:on client user provides snippet to execute -> received by backend pipeline and fed information from other backend components -> javascript executed with input -> results served back to page or saved to db.So it's a java runtime that instantiates the js execution context.The complexity of the executor (limitations) that they have proposed lead me to want to find a fast, secure way to run js serverside in a vm or sandbox using node but managed in java.Any tips or ideas greatly appreciated. If more detail is needed i can update. Thanks guys.
Submitted June 13, 2020 at 10:48PM by BLANkals
No comments:
Post a Comment