简体   繁体   English

我可以将 Firebase 与 Java 桌面应用一起使用吗?

[英]Can I use Firebase with java desktop app?

I'm developing a java desktop POS System, and I want all the users to be connected together with firebase.我正在开发一个 java 桌面 POS 系统,我希望所有用户都与 firebase 连接在一起。 So, can I use Google Firebase with a Java desktop application?那么,我可以将 Google Firebase 与 Java 桌面应用程序一起使用吗?

There is no official SDK for using Firebase in client-side Java applications.没有用于在客户端 Java 应用程序中使用 Firebase 的官方 SDK。

You can use some Firebase products through their REST API , but you'll have to write your own client-side access code for that.您可以通过其REST API使用某些 Firebase 产品,但您必须为此编写自己的客户端访问代码。

There is an official Firebase Admin SDK for use in Java applications.有一个用于 Java 应用程序的官方 Firebase Admin SDK。 But this SDK grants the users of the application full administrative access to your Firebase project, so it should not be used in Java applications that you share with regular (non-administrative) users.但是此 SDK 授予应用程序用户对 Firebase 项目的完全管理访问权限,因此不应在您与常规(非管理)用户共享的 Java 应用程序中使用它。

Also see:另见:

It's extremely round-about.这是非常迂回的。 But you can use firebase with desktop using outbound HTTP connections and firebase functions.但是您可以使用出站 HTTP 连接和 firebase 函数将 firebase 与桌面一起使用。 Just make sure you set up your own client api key or else anyone can mess with your firebase!只要确保您设置了自己的客户端 api 密钥,否则任何人都会弄乱您的 Firebase!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我可以使用客户端登录中的Firebase ID令牌来使用Java SDK验证Java桌面应用程序吗? - Can I use the Firebase ID token from a client login to authenticate a Java desktop app using the Java SDK? 我正在尝试使用Firebase为Java桌面应用程序构建后端 - I am trying to use Firebase to build a Backend for a Java Desktop Application 我可以使用 Java 为 LinkedIn 开发桌面应用程序吗? - Can I develop a Desktop App for LinkedIn using Java? 我可以将 Room Persistence Library 用于 Java 桌面应用程序吗? - Can I use the Room Persistence Library for Java desktop applications? 如何使用 Java 应用程序而不是桌面? - How Can I Use a Java Application Instead of Desktop? 我可以使用firebase将数据从Android应用传递到Java程序(JSE和Swing),反之亦然吗? - Can I use firebase to pass data from an Android app to Java programa(JSE & Swing) and vice versa? 如何在java桌面应用程序中使用此PHP代码 - how use this php code in java desktop app 如何将在终端中运行的Java应用程序转换为具有UI的桌面应用程序? - How can I turn my Java app that runs in a terminal into a desktop app with a UI? 我可以同时使用 jcenter() 和 mavenCentral() 在我的应用程序中实现 Firebase 吗? - Can I use both jcenter() and mavenCentral() to implement Firebase in my app? 我可以在简单的Java Crud操作中使用Firebase吗? - Can I use Firebase in my simple java crud operations?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM