JFokus 2017 in 5 minutes

This year I attended JFokus. It is a Java conference that takes place every year in February in Stockholm.

It started with a bunch of workshops on Monday but I only signed up for talks that kicked off on Tuesday. So I’ll share my main takeaways from the topics that seemed the most interesting to me.

Beginning of the second day. Wake up everyone!🥁

Mark Reinhold from Oracle shared news about what Java 9 will bring us. The update will mostly be revolved around modules. Their main goals are simplification of the development and maintenance of applications, improving performance and security.

There also was a Q&A session with Mark, where he shared that import aliases are not coming to Java yet, and the var keyword can potentially be included into later releases of the language.

Mark Reinhold. Source: flickr.

Java 8 best practices were discussed by Nicolai Parlog and Stephen Colebourne. Slides from both presentations can be found here and here.

Both speakers touched on Streams API and associated problems, e.g. use cases, exception handling, performance, etc.

Nicolai Parlog. Source: flickr

Default methods were highlighted as well. Stephen proposed that the way OOP is done in Java can now be revisited. With default methods, interfaces can become a full-fledged alternative to abstract classes.

Stephen Colebourne.

Optionals were another hot topic in both discussions. The main takeaway is they should be used wisely.

Gojko Adzic talked about his experience in building Serverless applications with AWS Lambda.

Gojko Adzic. Source: flickr.

Serverless was quite a buzzword during the last year. The main goal of such applications is to offer powerful scalability while paying only for the processor time. As a result it becomes much cheaper than deploying several machines and a load-balancer in front of them. But latency critical applications might not be able to leverage the technology because, according to Gojko, there is no strict guarantee in terms of when your code will be run.

Gojko’s presentation can be found here.

Felipe Hoffa from Google talked about results of a joint effort between Google and Github aimed at bringing GitHub data to be available for analysis with BigQuery. There is a blogpost about it which was released earlier on this year.

Did you know that spaces are more popular than tabs?

Mikael Sundberg from Klarna shared his experience of dealing with event-driven microservices. They’re getting more attraction because of useful features they provide, e.g loose-coupling and data consistency across multiple services without using distributed transactions. But since the programming model is more complex, it takes time and effort to get them right.

Mikael Sundberg. Source: flickr

You can find Mikael’s presentation here.

The conference ended with a talk from an Akka creator Jonas Bonér. Jonas talked about best practices in building microservices. There are definitely a lot of aspects to keep in mind.

The main highlights from the talk can be found here.

Jonas Boner. Source: flickr.

Overall, it was an exciting event. Thanks to organisers for making it happen!

Looking forward to JFokus 2018!

Here are some captured moments.

R2-D2 also attended JFokus this year.
Embracing Virtual Reality.
Swags

Happy Hacking!


Originally published at antonfenske.com on February 19, 2017.