B4J Question How to deploy webapps

Eumel

Active Member
Licensed User
Longtime User
You need an online server with root access, where you can start *.jar files.
Then you copy your compiled B4J Project to your webserver in a folder of your choice.
In this folder you have to create a www folder, and put an index.html in it.
Start the server with: java -jar <yourjar>, or double click on the jar file.

If your B4J server for example listen to port

B4X:
srvr.Port = 9000

You can reach it with: http://www.blabla.com:9000/index.html
 
Upvote 0
Top