Java Programming Tutorials

Java programming tutorials with many code examples!

Java XML validate using SchemaFactory

Java 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.

Read More

Share with the World!

Groovy for Java Developers

Groovy 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!

Read More

Share with the World!

Bubble Sort in Java

Bubble 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.

Read More

Share with the World!

MongoDB 3 array query operations

MongoDB 3 array query operations are very helpful and simplify digging in nested structures. In this post we’ll show how to create queries that match array elements in various ways.

Read More

Share with the World!

Java read XML using DOM

Java read XML using DOM

Java DOM API is comfortable to work with not big XML documents. They can be easily loaded and modified in runtime. In this post we show how to do it.

Read More

Share with the World!

Java create XML using DOM

Java create XML using DOM

Java allows to work with XML in many different ways. In this post we show how to use Java DOM API to create a document and write it as XML file.

Read More

Share with the World!
Pages:12345678...20