|
I read that theia has separate processes for backend and frontend. I'm curious if we could host these processes in two different machines and open a WebSocket connection for JSONRpc communication? If yes, could you please share a sample application with this configuration? It seems like these processes can also communicate via Rest APIs. Could you please share a code snippet for this configuration as well. Thanks! |
Replies: 1 comment
Yes. The frontend process is the web-app associated with the browser's tab. The backend process can live on a separate machine that you access when you load the frontend application.
Sure. You can try Theia in Gitpod: https://gitpod.io/#https://github.com/eclipse-theia/theia
Yes, you can do this as well. For example, the file download functionality is exposed as a RESTful API using |
Yes. The frontend process is the web-app associated with the browser's tab. The backend process can live on a separate machine that you access when you load the frontend application.
Sure. You can try Theia in Gitpod: https://gitpod.io/#https://github.com/eclipse-theia/theia
The web app runs in your browser, and the Theia backend is running one of the nodes provided by Gitpod. They're on two different machines.