Hosting & Domaining Forum

Hosting Discussion => Free Hosting Discussion => Topic started by: CERPAYCLE on May 15, 2023, 12:15 AM

Title: Best free hosting platforms for Java applications
Post by: CERPAYCLE on May 15, 2023, 12:15 AM
What are some options for deploying a Java web application for free? I have developed a small Java-based server, and I am interested in making requests to it from my Android phone. Are there any hosting platforms that provide free deployment services?
The server is composed of one war file and a PostgreSQL database, and I have already started it using Tomcat on my local machine. However, I would like to expand my knowledge by running the server on the internet.

Do you have any recommendations for hosting a Java web application for free? Specifically, I created a small Java server and I want to access it from my Android phone. The server consists of a single war file and a PostgreSQL database, and I already launched it locally using Tomcat. I am interested in deploying it online to widen my experience in this area.
Title: Re: Best free hosting platforms for Java applications
Post by: mike345 on May 15, 2023, 01:58 AM
To conduct a simple test, one can execute it on their own computer. The android app settings should indicate the external IP and port for accessibility to outside requests.


It's important to ensure that any application is thoroughly tested before being released to the public. Running tests on a personal computer can be a convenient way to do this. However, it's important to configure the android application to allow external requests by specifying the external IP and port. This will enable others to access and test the application, helping to identify and fix any potential issues before they become a major problem.
Title: Re: Best free hosting platforms for Java applications
Post by: STAN on May 15, 2023, 04:08 AM
One way to simulate the experience of working on a project hosted remotely is by deploying it through Vagrant and connecting to it as a remote machine.

Vagrant also has a feature called Vagrant Share, which enables external access to containers running on your computer through a web browser.
Title: Re: Best free hosting platforms for Java applications
Post by: Stussywonanny on May 15, 2023, 05:09 AM
Get a taste of Jelastic with a 2-week free trial. In just a matter of minutes, you can deploy Tomcat and PostgreSQL. Add a few more minutes to the deployment process and your application will be up and running.
As part of the package, you'll also receive a domain name, making it easier for users to find your application. To learn more about Jelastic's partners, visit https://jelastic.cloud/.
Title: Re: Best free hosting platforms for Java applications
Post by: SerenMckay on Oct 30, 2023, 03:07 AM
There are several hosting platforms that offer free deployment services for Java web applications. Some popular options include:

1. Heroku: Heroku provides a free tier that allows you to deploy and host your Java web application. It supports PostgreSQL as a database addon, making it a suitable choice for your server.

2. Google App Engine: Google App Engine offers a free tier with certain limitations, but it supports Java web applications and can be used to deploy your server. You can also use Google Cloud SQL as your PostgreSQL database.

3. AWS Free Tier: Amazon Web Services (AWS) offers a free tier that includes Amazon EC2, which can be used to deploy your Java server. You can also use Amazon RDS as your PostgreSQL database.

4. Azure App Service: Microsoft Azure provides a free tier of their App Service offering, which supports deploying Java web applications. You can use Azure Database for PostgreSQL as your database.


Here are a few more options for hosting a Java web application for free:

1. OpenShift: OpenShift is Red Hat's cloud computing platform that offers a free tier allowing you to deploy Java applications. It supports PostgreSQL as a database backend.

2. IBM Cloud Foundry: IBM offers a free tier of their Cloud Foundry service, which supports deploying Java applications. You can use the Cloudant NoSQL database or the Compose for PostgreSQL service for your database needs.

3. Jelastic: Jelastic is a cloud hosting platform that provides a free trial period where you can deploy Java applications. It supports various databases, including PostgreSQL.

4. Oracle Cloud: Oracle Cloud provides a "Always Free" tier that allows you to deploy Java applications using their Application Container service. You can use Autonomous Transaction Processing or Autonomous Data Warehouse as your database options.

To review the specifics of each platform's free tier to ensure they meet your requirements in terms of CPU, memory, storage, and any other limitations they may have. Additionally, consider factors such as scalability, reliability, and ease of use when choosing a hosting provider.
Title: Re: Best free hosting platforms for Java applications
Post by: ellahbarnes on Nov 23, 2024, 01:55 AM
I must caution that free tiers often come with limitations, such as limited scalability, storage, and bandwidth. You may find that your application outgrows the free tier quickly, and you'll need to upgrade to a paid plan.

In that case, you may want to consider other options like AWS Elastic Beanstalk, which offers a free tier for new AWS customers, but be aware that it's not entirely free, as you'll still incur costs for storage, bandwidth, and instance hours.
Title: Re: Best free hosting platforms for Java applications
Post by: astrologerrishi on Dec 17, 2024, 08:46 AM
For hosting Java applications, platforms like Heroku, Google App Engine, and AWS Free Tier offer free hosting with various features, such as scalability and database support. However, they come with resource limitations, so it's important to choose based on your app's needs.