Help with Netbeans Ant & Firebase

1,391 views
Skip to first unread message

Mitch Hankins

unread,
Dec 27, 2016, 12:56:49 PM12/27/16
to Firebase Google Group
Howdy!

I am really excited about implementing firebase in my java desktop application; but it is compiled by ant under netbeans; and from what I have read firebase only supports maven and Gradle.

All the guides I have seen online regarding converting to gradle are very cryptic, I just cannot figure it out.

Can someone please help? I have been on this for days

Kato Richardson

unread,
Dec 27, 2016, 3:55:18 PM12/27/16
to Firebase Google Group
Hi Mitch,

Firebase doesn't provide an SDK for building Java desktop apps at present. If you're running an admin process, we offer a doc here on creating Java admin services.

☼, Kato

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/595141fb-c22d-48f7-9d87-2d2b05f461e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Mitch Hankins

unread,
Dec 28, 2016, 10:45:36 AM12/28/16
to Firebase Google Group
Hi Kato,

What exactly is the difference between the admin and implementation of firebase in java?
Since android is java based, should I not be able to use the functions in my java desktop app?

Basically what I am trying to do is allow users to sign in, and view and update variables in the database?
Is there anyway I can accomplish this? Please help!


On Tuesday, December 27, 2016 at 2:55:18 PM UTC-6, Kato Richardson wrote:
Hi Mitch,

Firebase doesn't provide an SDK for building Java desktop apps at present. If you're running an admin process, we offer a doc here on creating Java admin services.

☼, Kato
On Tue, Dec 27, 2016 at 10:35 AM, Mitch Hankins <mitchha...@gmail.com> wrote:
Howdy!

I am really excited about implementing firebase in my java desktop application; but it is compiled by ant under netbeans; and from what I have read firebase only supports maven and Gradle.

All the guides I have seen online regarding converting to gradle are very cryptic, I just cannot figure it out.

Can someone please help? I have been on this for days

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/595141fb-c22d-48f7-9d87-2d2b05f461e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kato Richardson

unread,
Dec 28, 2016, 3:34:33 PM12/28/16
to Firebase Google Group
Great question, Mitch. 

The primary difference is access privileges. Since the admin client uses your service account, it would essentially hand the keys to the kingdom out to any desktop app that you installed this on. So for administrators of your product, that might be okay, but for end users, it's obviously not going to be wise.

☼, Kato

To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Jacob Wenger

unread,
Jan 3, 2017, 1:39:41 PM1/3/17
to fireba...@googlegroups.com
Hey Mitch,

The Firebase Android SDK will not work outside of the Android runtime. It is very much tied to the Android runtime and does not work in the Java desktop environment. And since the Admin Java SDK is meant for use in the server-side JVM environment (as Kato mentioned), it wouldn't be secure to use it in the Java desktop environment.

We realize the important of Java desktop apps though and are working to put together a compelling story for that platform. In the short term, this will most likely involve documenting some REST endpoints which you can use to generate Firebase Auth ID tokens which can then communicate with services such as the Firebase Realtime Database and Firebase Storage. In the long term, this may involve building a new Java SDK which can be used directly and securely from Java desktop apps. Stay tuned while we work through supporting this use case.

Cheers,
Jacob

Reply all
Reply to author
Forward
0 new messages