Binary Data Formats in a Spring REST API Data REST Spring 1. Overview While JSON and XML are widely popular data transfer formats when it comes to REST APIs, they’re not the only options available. There exist many other formats with varying degree of serialization speed and serialized data size.… Continue Reading spring-rest-api-with-binary-data-formats

Guide to JMapper 1. Overview In this tutorial, we’ll explore JMapper – a fast and easy to use mapping framework. We’ll discuss different ways to configure JMapper, how to perform custom conversions, as well as relational mapping. 2. Maven Configuration First, we need to add the JMapper dependency to our pom.xml: <dependency>… Continue Reading jmapper

Remote Code Execution with XStream 1. Overview In this tutorial, we’ll dissect a Remote Code Execution attack against the XStream XML serialization library. This exploit falls into the untrusted deserialization category of attacks. We’ll learn when XStream is vulnerable to this attack, how the attack works, and how to prevent… Continue Reading java-xstream-remote-code-execution