Core Java
-
JAXB: Generate Classes from XSD
In this tutorial, we shall learn generating classes from XML Schema Design (XSD) using JAXB. This can be achieved using…
Read More » -
Maven Project Structure Example
In this example we are going to see maven project structure and how the projects are organized. Maven is a…
Read More » -
Java CompletionService Example
1. Introduction to CompletionService The Java JDK provides some “services” for common use cases. The asynchronous Producer-Consumer pattern is one…
Read More » -
Maven Local Repository example
In this example we are going to see some of the capabilities from the maven local repository. Maven is a…
Read More » -
Java CompletionStage and CompletableFuture Example
1. Introduction Java JDK8 included the big fat interface called CompletionStage in the java.util.concurrent package. The same package also contains…
Read More » -
Maven Shade Plugin Example
In this example we are going to see some of the capabilities from the maven shade plugin. Maven is a…
Read More » -
JAXB Binding Example
JAXB stands for Java Architecture for XML Binding. JAXB provides convenient way to bind XML schemas and Java representations, making…
Read More » -
org.apache.commons.net.ftp.ftpclient Example
In this example we are going to elaborate the use of the FTPClient class in the package: org.apache.commons.net.ftp, as the package…
Read More » -
Maven Settings.xml example
In this example we are going to see the maven settings xml file and most of it’s features. Maven is…
Read More » -
Java Swing MVC Example
In this example we are going to demonstrate Java Swing MVC, The MVC pattern is a model of how a…
Read More »