Spring REST API with Protocol Buffers 1. Overview Protocol Buffers is a language and platform neutral mechanism for serialization and deserialization of structured data, which is proclaimed by Google, its creator, to be much faster, smaller and simpler than other types of payloads, such as XML and JSON. This tutorial… Continue Reading spring-rest-api-with-protocol-buffers

Introduction to Vert.x 1. Overview In this article, we’ll discuss Vert.x, cover its core concepts and create a simple RESTfull web service with it. We’ll start by covering the foundation concepts about the toolkit, slowly move forward to an HTTP server and then build the RESTfull service. 2. About Vert.x… Continue Reading vertx

First Round of Improvements to the Reddit Application 1. Overview The Reddit web application Case Study is moving along nicely – and the small web application is shaping up and slowly becoming usable. In this installment, we’re going to be making small improvements to the existing functionality – some externally… Continue Reading reddit-web-app-improvements-1

A Guide to NanoHTTPD 1. Introduction NanoHTTPD is an open-source, lightweight, web server written in Java. In this tutorial, we’ll create a few REST APIs to explore its features. 2. Project Setup Let’s add the NanoHTTPD core dependency to our pom.xml: <dependency> <groupId>org.nanohttpd</groupId> <artifactId>nanohttpd</artifactId> <version>2.3.1</version> </dependency> To create a simple server, we… Continue Reading nanohttpd