Doorgaan naar de inhoud

Building Async HTTP apps with Ratpack + Hide your devEnv and app in a container

Foto van Teo Bais
Hosted By
Teo B.
Building Async HTTP apps with Ratpack + Hide your devEnv and app in a container

Details

Vacation is over!
Okay, maybe the exclamation mark was a bit redundant, but the interesting part is that we again have the chance to have some beer together and learn something new!

Once again, our kind friends from bol.com (http://www.bol.com) will take care after us with healthy food, drinks and their nice place :-)

Presentations

  • Hide your development environment and application in a container, Johan Janssen- Building Asynchronous and Non-Blocking HTTP Applications with Ratpack, Hubert Klein Ikkink

===============================================================

Agenda

18:00: Walk in - drinks and food are served
18:30: JUG Updates
18:45: First talk
19:30: Break
19:45: Second talk
20:30: Drinks
21:50: Till the next one!

  • Giveaways?
  • 2 lucky winners will earn a free JetBrains licence for the JetBrains IDE of their choice (i.e IntelliJ IDEA)

Presentation Details

What Hubert says about the presentation

Ratpack is a library to write asynchronous and non-blocking HTTP applications. The library is written in Java 8 and we can implement the application code in Java 8 or Groovy. The HTTP IO handling is implemented with Netty, which means that a lot of requests can be handled without a lot of memory needed by the application. This makes Ratpack HTTP applications ideal for writing RESTful micro services and for deploying to cloud services where we need to pay for memory requirements. In this talk we will learn what Ratpack is and what the architecture looks like. We will see a lot of code samples showing how to write an application in Ratpack using both Java 8 and Groovy.

Who is Hubert

Hubert Klein Ikkink is also known as mrhaki. He uses his alias to write on my blog “Messages from mrhaki” (http://mrhaki.blogspot.com/). On this blog he writes short tips and tricks about Groovy features in the “Groovy Goodness” series. During the years he also wrote about Grails, Gradle, Spock and Asciidoctor. Hubert started to develop Java applications more than a decade ago. Six years ago he started to explore Groovy and Grails in personal projects, because of the dynamic nature of Groovy and the speed of development. Today he works with Groovy and Grails during his daytime job at JDriven in the Netherlands.He also wrote books on Gradle published at Packt Publishing and spoke at different conferences like Gr8Conf in Copenhagen and Minneapolis, Greach in Madrid and JFall in the Netherland

What Johan says about the presentation

Nowadays Docker is really popular. Docker containers can be used for almost any application. The common usecase is to use Docker for DTAP environments. But why not use it on your development machine? At our current project we share a Linux machine with a number of developers. That sounds nice, until you have to fight for ports so you can start your application server and other applications. We had to customize our configuration to enable our applications to run on different ports and assign specific ports to specific developers. That works most of the time, until a developer accidently uses the ‘wrong’ port that was not assigned to that developer.

This issue can be solved by using Docker containers. Every developer gets a separate container with a complete development environment. The ports being used are not exposed outside of the container so everyone can use the same default ports again. Another advantage of this setup is that we can quickly start new development environments in a container for new team members. If we want to change the development environment, we can easily change the container and all members can use the new development environment right away. For instance if we want use a new version of the IDE, or maybe even an entirely different IDE. Using the same setup can also help to make sure all team members are using the same checks and coding styles.

The presentation will give a quick introduction to Docker. After that the different possibilities to run GUI apps within a Docker container are explained. We will demo the setup of our development environment with IDE's like IntelliJ and Eclipse, Java, Maven etc.

Who is Johan

Johan is working as a Java architect, trainer and competence center Java lead at Info Support. He has been working for various demanding companies where rapidly delivering quality software was very important. He likes sharing his knowledge about Java, continuous delivery, DevOps, IoT, software quality and numerous other subjects. Johan regularly writes articles and gives presentations about those subject for instance at JavaOne, Devoxx BE/UK, J-Fall, Jfokus, JAX, various Voxxed events, JavaLand, Scala Days Berlin/New York, GeeCON, JBCNConf, Java Forum Nord, Coding Serbia, Javantura, JavaCro and ConFESS.

Photo of Utrecht Java User Group group
Utrecht Java User Group
Meer evenementen bekijken
bol.com
Papendorpseweg 100, 3528 BJ · Utrecht