A serverless Java developer’s journey


Last week at the Google Cloud Next conference, I had the chance to speak about the Java developer’s journey through the “serverless” offering of Google Cloud Platform, with my colleague Vinod Ramachandran (Product Manager on some of our serverless products):


Serverless Java in 2019 is going to be ubiquitous in your favorite cloud. Well, it’s actually been 10 years since you could take advantage of Java on Google App Engine. But now you can run your apps on the brand-new Java 11 runtime. Not only servlet-based apps but also executable JARs. And what about authoring functions? Until now, you could only use Node or Python, but today, Java is the third runtime available for Google Cloud Functions. We will review the various ways you can develop your Java functions. Last but not least, thanks to serverless containers, containerized Java workloads run serverlessly, without you caring for infrastructure, scaling, or paying for idle machines. Through various demos, we will look at the many ways Java developers will be able to write, build, test, and deploy code in Java on the rich serverless offering of Google Cloud Platform.


Until fairly recently, our compute serverless products consisted only of Google App Engine for deploying apps and services, and Cloud Functions for deploying functions. Furthermore, for the Java developer, the situation wasn’t that great as Cloud Functions wasn’t offering any Java support (only Node, Python and Go runtimes), and only App Engine provided a Java 8 runtime.


Fortunately, some very important announcements were made at Cloud Next:


So you can develop Java functions, Java apps and Java-powered containers in a serverless fashion:

  • Scaling on demand as needed to serve incoming requests as well as down to zero when no traffic comes.

  • Paying proportionally to the usage.

  • And all of that, without having to worry with server or cluster provisioning and management.


Without further ado, let me share with you the video and the slides of this presentation:


Video recording:



Slides of the presentation:


Now it’s your turn! If you want to try out functions, apps, and containers in Java, here are a few pointers to get you started:

 

 
© 2012 Guillaume Laforge | The views and opinions expressed here are mine and don't reflect the ones from my employer.