I am pleased to introduce you to three actors of today’s performance. Each of them is a master in his field, but together they create something very powerful. So there are of course JavaFX, Spring Boot and Gradle. See what the project configuration looks like from scratch.
Both @PostConstruct and @PreDestroy annotations (often used in spring applications) are located in java.xml.ws.annotation package which is a part of Java EE module. J2EE has been deprecated in Java 9 and it’s scheduled to be removed in Java 11. Let’s look how to run your application without errors again in two approaches: with and without code modification.
There are situations in witch you need to access Spring ApplicationContext or any other Spring bean from a static method. At the beginning I would like to emphasise, that wiring…
This guide shows you how to setup Spring Boot project using Gradle, and how to create the Hello World application.