Home » Archives for Sebastian Daschner » Page 2

Author Archives: Sebastian Daschner

Sebastian Daschner is a self-employed Java consultant and trainer. He is the author of the book 'Architecting Modern Java EE Applications'. Sebastian is a Java Champion, Oracle Developer Champion and JavaOne Rockstar.

Inject Quarkus list types with @ConfigProperty

java-interview-questions-answers

Inject Quarkus list types with @ConfigProperty In a previous post, you’ve seen how to map complex configuration structures with Quarkus using @ConfigMapping. If you have a typed collection, e.g. List<String>, you can also inject these values via @ConfigProperty: @ApplicationScoped public class CoffeeShopConfig { @ConfigProperty(name = "complex.list") List<String> list; ... } The list can be populated either by a hierarchical config ...

Read More »

How to crawl websites with Selenide and JDK 14+

Sometimes we find ourselves in a situation in which we need certain data, that needs to be manually fetched from some website. As developers, of course automation is our friend, which is why we can write some automated approach to crawl websites, instead of searching all this information ourselves. I’ve recorded a video, in which I’m fetching up some data ...

Read More »

Using the Quarkus dev mode for non-Quarkus projects

java-interview-questions-answers

The Quarkus dev mode increases our development productivity and especially reduces the turnaround times how long it takes to get test feedback. For Quarkus projects, this is a huge benefit. However, with some hacky workarounds, it’s possible to run the tests of a plain Java project also in a similar way. In this video, I’m showing how to add the ...

Read More »

My tips for using IntelliJ IDEA effectively

I wanted to share my tips and tricks that and especially keyboard shortcuts that make me more productive when using IntelliJ IDEA. IntelliJ is my favorite IDE and a very well thought-out program in general, and despite trying to learn the countless shortcuts available, there are a few that give you the biggest productivity boost already. My frequently used features ...

Read More »

Development workflows that put you in a flow state (Video)

Programming is very much a flow activity in which we can fully immerse ourselves into the task. But there are differences in how much our local development setup allows us to do so, especially with regards to the waiting times. In this video, I’m showing what to consider in our development environments to come up with a setup that enables ...

Read More »

Creating effective UI system tests with Selenium

java-interview-questions-answers

In this video, I’m showing how to create effective UI system tests with Selenium. In my previous video course on effective testing, I’ve introduced the coffee shop application, which we now enhanced with some basic HTML views. Selenium is a powerful web driver technology, to programmatically simulate user behavior in a browser, and helps us to create UI system tests. ...

Read More »

Undo feature with Neo4J & Enterprise Java

I’ve created an example how to implement an undo feature in a Quarkus application that uses a Neo4J database. From a user perspective, an undo action might look little spectacular, but once you know what needs to be taken into account on a database side, it’s everything but trivial. Especially in graph databases, we need to take the relationships into ...

Read More »

Quarkus remote dev in Docker containers (Update)

In an earlier video, I shared how to run the Quarkus remote-dev mode in Docker containers, which is very helpful for local and remote development environments. Since Quarkus version 1.6, however, the way how we execute the remote dev mode has changed. Assuming, we’d like to have the same setup like in the mentioned video. What’s new is that we ...

Read More »

Pragmatic database migrations with Quarkus and Flyway

java-interview-questions-answers

I’ve recorded a video in which I’ll show how to perform database migrations in Quarkus applications using the Flyway Quarkus Extension. Similar to the previous example, I’m using Flyway to perform database schema migrations, but in this example, Flyway is shipped with the application and executed at startup time. This is a more pragmatic, less flexible approach, ideal for non-Kubernetes ...

Read More »