B4J Question B4J Webserver

Wolli013

Well-Known Member
Licensed User
Longtime User
Is it possible to run a B4J program on a web server?
If so, how do I proceed?
 

aaronk

Well-Known Member
Licensed User
Longtime User
You would need to use a VPS.

 
Upvote 0

aeric

Expert
Licensed User
Longtime User
If you mean B4J non-UI or console app, it is build to run on server or computer which you can install jdk.

If you mean UI app, it requires JavaFX to be installed and probably a server with UI or desktop environment / window manager.

By default, a Linux server like Ubuntu server has no desktop environment.

If you mean by B4J server app, such as a http web server created by B4J server template then yes. You don't need to run it on any web server because it is a web server itself powered by jetty. You don't need Apache Tomcat, Weblogic or Glassfish.

You need to subscribe a VPS service (Linux or Windows) or use your own server that you can install openjdk and access to SSH. A shared hosting usually don't allow you to do that.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…