Enterprise Java
-

A good, lazy way to write tests
Testing. I’ve been thinking a lot about testing recently. As part of code reviews I’ve done for various projects, I’ve…
Read More » -

Java EE CDI dependency disambiguation example
In this tutorial we shall show you how to avoid dependency disambiguation in CDI beans. In CDI we can achieve…
Read More » -

Spring Data Solr Tutorial: Adding Custom Methods to All Repositories
If we are using Spring Data Solr in a real life software project, the odds are that sooner or later…
Read More » -

Choosing Technology Stack to build a common platform
There are many talks in the Java community about Spring vs Java EE. Fans of one group would argue you…
Read More » -

Aggregating async results using Spring Integration
Hi, I came across an issue which has very nice solution using Spring Integration. Many times we have the need…
Read More » -

Browser-based Key Generation and interaction with the Browser’s Key/Certificate Store
Imagine the following scenario: You need to get a key (in the asymmetric case the user’s public key) from a…
Read More » -

Testing Spring “session” scope
In a Spring based Web application, beans can be scoped to the user “session”. This essentially means that state changes…
Read More » -

Spring Data Solr Tutorial: Pagination
In the earlier parts of my Spring Data Solr tutorial, we have implemented a simple search function which is used…
Read More » -

Spring Data Solr Tutorial: Sorting
When we are implementing a word search function, we typically want to sort the search results in descending order by…
Read More »



