Firebase demo with Java