Ali Bassam
Ali Bassam

Reputation: 9959

How to turn my computer into a webserver and use a Java webapp created using Netbeans

I created a Java web application using Netbeans, I only got a .war file after clicking on build and I don't know whats the next step, how can I become a server and allow my friends to use this .war file or app?

Upvotes: 0

Views: 641

Answers (2)

user520458
user520458

Reputation:

You need an application server like Apache Tomcat, Jetty, or Glassfish to deploy your application. Each one has its advantages and disadvantages and also different configuration options.

Some application servers can be embedded in your application, or can be used standalone and just drop your .war in them.

Upvotes: 4

Code-Apprentice
Code-Apprentice

Reputation: 83527

You might want to consider finding a free web hosting service that supports Java EE. This would be much easier and safer than trying to set up a secure web server on your own machine.

Upvotes: 1

Related Questions