Justin
Justin

Reputation: 2795

How to run atmosphere example

I have downloaded the example from this link and I created the web application based on Tomcat, but one thing confused me is how to run that program? Seems there is no main function to run

Upvotes: 2

Views: 449

Answers (1)

Steinar
Steinar

Reputation: 5950

Web-applications do not run by themselves. You need to package them correctly as a war and deploy them on an application server, such as Tomcat or Jetty.

Normally, to deploy an application on Tomcat, you just need to copy the war into the webapps directory (wherever Tomcat is installed) and start Tomcat (if it is not already running).

You might have to add/change some additional configuration in Tomcat to make it work. I don't have any experience with the Atmosphere application, so I can't help you there, but this and this stackoverflow questions looks relevant. If you run into trouble and can't figure it out from existing answers to these or other similar questions, you should probably ask a new question where you include the details.

Upvotes: 1

Related Questions