This tutorial shows how to validate JSON against Schema in Java. It presents a utility class – ValidationUtils.java that implements the validation logic. This tutorial uses the open source Jackson 2.x libraries and fge/json-schema-validator libraries hosted on GitHub.
This article discusses options to ignore null and empty fields during serialization to JSON using Jackson 2.x. By default, Jackson 2.x includes null and empty object fields while serializing to JSON. Sometimes, it is desirable to ignore such fields. You can do that by following any of the following two options: Annotate the class or the fields with […]
This article explains what a network interface is and presents code to list IP addresses bound to physical interfaces in Java. A computer connects to a network through a connection point called a Network Interface. A network interface can be a physical hardware like your ethernet card or a wireless network card (WiFi module); or […]
This video demonstrates a smart personal assistant on Gtalk implemented using Apache and TIBCO technologies. It listens on a Gtalk address for incoming messages, identifies human names in the messages and responds back with the contact details of the identified names if they match those in its database.