Light Yugen
Light Yugen

Reputation: 21

How to deploy java vertx server on linux?

i have made a java server that uses vertx, eventbus, and socket. The client connects to it using javascript. But all of this works locally, How can i deploy this software on a linux server so people online can use it?

Upvotes: 0

Views: 104

Answers (1)

Hias
Hias

Reputation: 57

you should build a jar file and deploy that on the server. Then start the file with

java -jar filename.jar

I don't know the context of your application, but it may be necessary to create a web server to let others connect to your application.

Upvotes: 1

Related Questions