Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to host Java Spring application over Firebase hosting?

Tags:

I am seeking information about using Firebase (as database) for Java. Is this possible along with hosting of Java (using Spring framework) project over Firebase hosting.

like image 938
Ankit Maheshwari Avatar asked Aug 04 '16 13:08

Ankit Maheshwari


People also ask

Can I host spring boot in Firebase?

Create a Firebase project in the Firebase console: Click the “Add Project” button from the project overview page. Type “Firebase DB for Spring Boot” in the "Project name" field. Click the “CREATE PROJECT” button. Now we have created a project on Firebase, now let us add firebase to our spring boot app.

Can you use Java with Firebase?

You can get started using the Firebase Java SDK by following the steps in the Java / Android Quickstart Guide. In addition, check out the sample applications available on GitHub: Chat and Shared Drawing.

Can I use Firebase as Hosting?

Firebase Hosting provides fast and secure hosting for your web app, static and dynamic content, and microservices.

Is Firebase good for big projects?

No, Firebase is not good for big projects. Firebase can effectively cater to smaller projects and start-ups that require a reliable database, usage tracking, and user authentication. For big projects, developers will encounter problems such as data migration, security rules, and limited querying.


1 Answers

It is possible. Use Google App Engine an environment for running application code in the cloud; Platform as a service (PaaS).

Below is description how make to make basic example.

In the this tutorial, you'll learn how to: Create a backend service running on App Engine using Android Studio. Connect the backend service to your data in Firebase.

The sample app stores a to-do list in Firebase, which automatically synchronizes the data across devices, and then uses backend logic running on App Engine to send out daily reminder emails:

https://cloud.google.com/solutions/mobile/firebase-app-engine-android-studio

By connecting App Engine to a Firebase database, you can perform complex logic on data without having to manage synchronization and updates; Firebase handles that for you.

like image 98
Kamil Nękanowicz Avatar answered Sep 22 '22 16:09

Kamil Nękanowicz