Spring @PostConstruct and @PreDestroy alternatives in Java 9+

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.

(more…)

Continue Reading

05 – Oracle JDK: Installation and version management

This time I show you two different ways to install and management Java in Ubuntu: manually¬†and using PPA repository. The manual part of this tutorial also works fine for any linux. It’s recomended for professional installations.

(more…)

Continue Reading

End of content

No more pages to load

Close Menu