Memorynotfound Java Programming Tutorials

log4j2 tutorials

Create and Configure Log4j2 Async Logger

Project structure In this example we will configure a Log4j2 Async Logger. Asynchronous logging can improve your application’s performance by executing the I/O operations in a separate thread. Asynchronous Loggers internally use the Disruptor,...
xml tutorials

Get Line Number from XML Validation against XSD Schema

In this example we will grab the Line and column number from the validation exception while validate XML against XSD Schema. We use the javax.xml.validation.Validator to check the XML document against the XSD schema....
xml tutorials

Validate XML against XSD Schema using Java

In this example we will Validate XML against XSD Schema. We use the javax.xml.validation.Validator to check the XML document against the XSD schema. Be careful because the validator is not thread safe. It is...