https://stackoverflow.com/questions/45638644/can-electron-apps-be-integrated-with-java-code
Can Electron apps be integrated with java code?
As node.js still lacks important functionality which exists in Java, I would like to use Java instead of node.js, and create the client using a web language (html, js, css..). Electron is cross pl...
stackoverflow.com
You can do it in more ways, it depends on what you need.
1. You can create a jar file and then execute it like terminal: https://nodejs.org/api/child_process.html
Child process | Node.js v18.8.0 Documentation
Child process# Source Code: lib/child_process.js The node:child_process module provides the ability to spawn subprocesses in a manner that is similar, but not identical, to popen(3). This capability is primarily provided by the child_process.spawn() functi
nodejs.org
2. you can open a socket communication and talk on a Port.
(A lot of documentation: Java (web)socket - Node.js client.io)
What do you mean with "create" your communication protocol? Wouldn't it work using WS protocol like this? ws://localhost:8080/ws/wsexample
yes, I mean that you have, in case, to create a proper socket or WS and use it to send messages. So, create a dictionary of messages-actions or something like that, a communication protocol to be used on the socket :)
ex)
https://github.com/jreznot/electron-java-app
GitHub - jreznot/electron-java-app: Electron Java application - What if you could build Desktop applications on Java with HTML 5
Electron Java application - What if you could build Desktop applications on Java with HTML 5 UI - GitHub - jreznot/electron-java-app: Electron Java application - What if you could build Desktop app...
github.com
[Electron] 웹서버(express) 같이 실행시키기 (tistory.com)
[Electron] 웹서버(express) 같이 실행시키기
1. 이슈내용 Electron에 express를 포함시켜 작동하는 방법을 간단하게 공유한다. 2. 해결방법 사용하고 있는 electron폴더에서 사용하고 싶은 이름을 가진 js 파일을 생성 후 간단한 express 테스트 코드
spadeworkdiary.tistory.com
Confused on how to use Electron as GUI for Java code? : electronjs (reddit.com)
Confused on how to use Electron as GUI for Java code?
Really confused with using Electron as GUI for java code since I can't seem to find any documentation showing how to connect the two. I was...
www.reddit.com