menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Theia

Eclipse Theia - Cloud & Desktop IDE

Channels
Team

Using theia core only for frontend and back-end in java

November 10, 2019 at 1:59pm

Using theia core only for frontend and back-end in java

November 10, 2019 at 1:59pm
Am trying to use only theia-core package for frontend and trying to implement backend in java. Is it possible ?? Currently when running frontend ws connection is getting failed. If i need to replicate the json-rpc services in java what are the json-rpc services required by theia core package ?

November 10, 2019 at 6:37pm
Theia backend is Node.js process. It is not designed to be replaced by another runtime. In theory you can do it, but there are no any guarantees that we won't change JSON-RPC transport because of some reasons, like performance, which happened in the past.
If you need Java process, you can spawn it by using child_process Node.js module. Communications between frontend and this process can be wrapped in JSON-RPC services.

November 18, 2019 at 3:42pm
While still needing a Node.js module, I've had some success calling java code with node java