Upload and Deploy Your Java Application


Now that you have configured your environment you can run your Java application.

The Jelastic Deployment Manager gives you a convenient way to control your deployed web applications. You can easily add and deploy any of them to a specified environment or delete them if needed.

In order to add new Java application package:

  1. Upload your application package by clicking Upload in Jelastic Deployment Manager.
  2. how to deploy my app
  3. Browse to your local file. The Jelastic Deployment Manager supports .WAR, .ZIP or .EAR formats.

  4. Note that the maximum available size of the uploaded local file is 150 MB. If your application size exceeds this limit, please use the URL for uploading.
    war
  5. To add new application via URL (http://, https:// or ftp://) navigate to the appropriate tab and enter there the required link.
  6. add application
    NOTE:
    • Upload manager just links to the file
    • If you modify your linked file but do not change the link to it there is no need to enter URL again
    • If the ftp server needs authorization you'll have to put your URL in the following format:
    • ftp://{login}:{password}@{server_name}/{path_to_file}/{MyPackage.war}

    • If you happen to select a file with an unsupported extension or you enter an incorrect URL, you will get an error message informing you of it.

  7. You can track the progress of the package uploading in the Tasks pane. Once the file is uploaded, it gets listed along with all your previous packages. Once uploaded, you have access to the Deploy and Delete options for that file.

  8. Select your package in the list and click Deploy to drop-down menu.
  9. how do i run java
  10. To get your java web application hosted choose the environment where you want to deploy it. In the opened window, specify the application's target context. Click Deploy.
  11. web application
  12. Your application will be deployed to the chosen environment in just a minute.
  13. get java
    Now you can open and use your Java web application.