title: How to write firebase cloud functions in java
body: <p>I am new in firebase . I am store data in firebase database using admin sdk(java code ). I have done this part successfully . Now i want write fire base cloud function on create of database entry and notification as </p>
  
  <pre><code>1. The function triggers on writes to the Realtime Database path where followers are stored.
  2. The function composes a message to send via FCM.
  3. FCM sends the notification message to the user's device.
  </code></pre>
  
  <p>As i have search more on internet , found only node.js code for that. </p>
  
  <p><a href="https://firebase.google.com/docs/functions/get-started" rel="noreferrer">https://firebase.google.com/docs/functions/get-started</a></p>
  
  <p>Is it possible to  write firebase cloud function 
  using admin sdk or java code.Please help me.</p>