Spring Boot made command apps more popular, so in this post we’re going to show how in Maven run Java app from command line.
Continue reading Maven run Java app from command linejava
In this post we show Log4j example configuration that logs messages to a configured log file, and creates backups when needed.
Continue reading log4j example configuration file loggerIn this post we show Log4j example configuration that logs messages to console (standard output), which is very useful when testing applications!
Continue reading log4j example configuration – console loggerIn Java int to String conversion can be done in a different ways and converted String can be in different formats. In this post we’ll show on examples how to convert them.
Continue reading Java int to StringIn Java String to int conversion can be done in a few different ways. In this post we’ll show them and describe differences.
Continue reading Java String to intJava 8 reduce is a great method to compute a value from stream of values – reduce collection to value. In this post we’ll explain how reduce in Java work.
Continue reading Java 8 reduce by exampleMaven use company repository (Nexus) In this post we’ll show how to configure Maven to download project libraries from your company’s repository/mirror instead of the Internet.
Continue reading Maven use company repositoryJava XML validate using SchemaFactory There are a few ways to validate XML file in Java. In this post we show how to use SchemaFactory to validate XML against XSD Schema from file.
Continue reading Java XML validate using SchemaFactoryGroovy for Java Developers – essentials In this tutorial you will learn the most common features of Groovy that will allow you to get up and running in just a few minutes!
Continue reading Groovy for Java DevelopersBubble Sort is a sorting algorithm that repeatedly goes through an array and swaps adjacent elements that are not in order. In this post we’ll show how to implement it.
Continue reading Bubble Sort in Java