Java
-
Going REST: embedding Tomcat with Spring and JAX-RS (Apache CXF)
This post is logical continuation of the previous one. The only difference is the container we are going to use:…
Read More » -
Hello Camel: Automatic File Transfer
Apache Camel is described on its main web page (and in the Camel User Guide) as ‘a versatile open-source integration…
Read More » -
What Is JNDI, SPI, CCI, LDAP And JCA?
JNDI stands for Java Naming and Directory Interface. It is an API to providing access to a directory service, that…
Read More » -
Static factory methods vs traditional constructors
I’ve previously talked a little bit about the Builder Pattern, a useful pattern to instantiate classes with several (possibly optional)…
Read More » -
The ins and outs of immutability
So in my first post I talked a little bit about the builder pattern and I mentioned a really powerful…
Read More » -
The builder pattern in practice
I’m not going to dive into much details about the pattern because there’s already tons of posts and books that…
Read More » -
Spring Data JPA and pagination
Let us start with the classic JPA way to support pagination. Consider a simple domain class – A ‘Member’ with…
Read More » -
Camel 2.11 – HTTP proxy routes with url rewriting functionality
In the upcoming Apache Camel 2.11 release I have recently added support for plugging in custom url rewrite implementations to…
Read More » -
Implementing Producer/Consumer using SynchronousQueue
Among plenty of useful classes which Java provides for concurrency support, there is one I would like to talk about:…
Read More »