Java
-

Java EE CDI Disposer methods example
This is a tutorial of CDI Disposer methods. In CDI, since a Producer method generates an object that can then…
Read More » -

Spring MVC: Security with MySQL and Hibernate
Spring has a lot of different modules. All of them are useful for the concrete purposes. Today I’m going to…
Read More » -

Template Method Pattern – Using Lambda Expressions, Default Methods
Template Method pattern is one of the 23 design patterns explained in the famous Design Patterns book by Erich Gamma,…
Read More » -

A simple application of Lambda Expressions in Java 8
I have been trying to fit in lambda expressions in the code I write and this simple example is a…
Read More » -

Publish/Subscribe Pattern with Apache Camel
Publish/Subscribe is a simple messaging pattern where a publisher sends messages to a channel without the knowledge of who is…
Read More » -

Using Java WebSockets, JSR 356, and JSON mapped to POJO’s
So I have been playing around with Tyrus, the reference implementation of the JSR 356 WebSocket for Java spec. Because…
Read More » -

Elasticsearch: Text analysis for content enrichment
Every text search solution is as powerful as the text analysis capabilities it offers. Lucene is such open source information…
Read More » -

Rare Uses of a “ControlFlowException”
Control flows are a “relict” from imperative programming, which has leaked into various other programming paradigms, including Java’s object oriented…
Read More »



