Tags » Java 2

Unions and default value in apache avro serialization and deserialization

Initial avro schema (schema/user.avsc) defines a User record with a name field only.

{
  "namespace": "com.bawi.avro.model",
  "type": "record",
  "name": "User",
  "fields": [
    {
      "name": "name",
      "type": "string"
    }
  ]
}
… 546 more words
Java

Components and Environments

I am playing around with the concepts of components and environments in my microbean experiments.

The fundamental idea behind microbean is that with CDI 2.0 every last piece of your application can be its own self-contained artifact (including… 483 more words

Flight Search with Neo4j

I think I am going to take the opportunity to explain why I love graphs in this blog post. I’m going to try to explain why looking at problems from the graph point of view opens you up to creative solutions and makes back-end development fun again. 2,479 more words

Graph Database

Collections - Giriş

Merhabalar, bu yazımda Java‘da Collections‘a giriş yapacağım ve sonraki yazı serilerinde bu framework içinde bulunan class‘ları ve interface‘leri anlatmaya devam edeceğim. 272 more words

Java

Reflection API

Merhabalar, bu yazımda Java’daki Reflection API‘ye kısaca değineceğim. Reflection API, çalışma zamanı anında, metotların, sınıfların ve interface’lerin davranışlarını incelemek veya değiştirmek için kullanılır. 336 more words

Java

WebSocket with Spring Boot

Introduction

In this post I am going to talk briefly about developing a WebSocket based application using Spring Boot framework. WebSocket[1] is a full duplex protocol allows bi-directional communication. 1,213 more words

Buddhima

Log contextual information to all log messages in Spring Boot using Logback's MDC

Logging is sometimes one of the things on which too little attention is spent, but when production errors start to arrive you’ll sure want to have the maximum amount of information you want. 1,037 more words

Dev