B4J Question Run UI-App in Headless mode

Blueforcer

Well-Known Member
Licensed User
Longtime User
I have a application wich runs as a GUI app but without any form or other JFX related functions.
Sadly i need to go this way because of the problematic with ResumableSubs and Non gui apps.
see:
(https://www.b4x.com/android/forum/threads/abplugin-with-resumablesub.99638/)
and
(https://www.b4x.com/android/forum/threads/resumable-subs-wait-for-sleep-in-server-handlers.81833/)

Because this app should run on a raspberry without any displayi need a solution to start this app remotly via ssh.
I found this Blog. As i understand its possible to run a GUI app in Headlessmode.
Is this possible in b4J?
https://blog.idrsolutions.com/2013/08/what-is-headless-mode-in-java/
 
Last edited:

Blueforcer

Well-Known Member
Licensed User
Longtime User

Attachments

  • DEMO.zip
    48.3 KB · Views: 176
Upvote 0

Blueforcer

Well-Known Member
Licensed User
Longtime User
So it won't be possible in the current state to solve my problem and I have to stay at a UI application?

Edit:
Could this Workaround work?:
The Plugin parse only the URL to the Mainapplication.
The Mainapp download the data and give it back to the Plugin.
 
Upvote 0
Top