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.
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.
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.
Firebase Hosting provides fast and secure hosting for your web app, static and dynamic content, and microservices.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With