Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to webhost a war file

Hi after completing my first java web application (it's small application) uses the local server jetty server and database is MySQL.

How to host war file on web server.

any suggestions for tutorials or links please share...

i googled it but lot of unwanted items are there so please help if you know about his please share answers.

like image 886
Prasanth A R Avatar asked May 24 '14 09:05

Prasanth A R


1 Answers

Actually I do not know how to host from localhost a ".war" file, but if you want to be your web application online, you can use Amazon Web Service.

  1. go to https://console.aws.amazon.com and then create a free account (account creation process may be changed since it uses 2-step verification).

  2. sign in to Amazon AWS from https://console.aws.amazon.com and find "ElasticBeans Talk" under "Deployment & Management".

  3. After that you may see an empty page, just click "Create a new Application" from right corner side of the page. Enter your information and then just simply click your new created environment.

  4. After that you can upload and deploy ".war" files to this free account.

Warning! Please first read the Pricing page of https://aws.amazon.com/documentation/ in order to learn about pricing of Amazon Web Services. If you do not intentionally click an unfree service, it gets the money without asking your permission from your credit card. Amazon Inc. assume that you know about which service is free and if it is not free they assume you know about how much it costs.

like image 91
Onur Şahindur Avatar answered Nov 08 '22 11:11

Onur Şahindur