Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our newsletter to start Rocking right now!
To get you started we give you our best selling eBooks for FREE!
1. JPA Mini Book
2. JVM Troubleshooting Guide
3. JUnit Tutorial for Unit Testing
4. Java Annotations Tutorial
5. Java Interview Questions
and many more ....
Email address:

Elasticsearch – Ignore special characters in query with pattern replace filter and custom analyzer

java-interview-questions-answers

Using Elasticsearch 5, we had a field like drivers license number where values may include special characters and inconsistent upper/lower case behavior as the values were entered by the users with limited validation.  For example, these are hypothetical values: CA-123-456-789 WI.12345.6789 tx123456789 az-123-xyz-456 … In our application, the end user need to search by that field. We had a business ...

Read More »

Java getting back to the browser?

Lead-in This article talks about WebAssembly and can be read to get the first glimpse of it. At the same time, I articulate my opinion and doubts. The summary is that WebAssembly is an interesting approach and we will see what it will become. Java in the Browser, the past There was a time when we could run Java applets ...

Read More »

Don’t Parse, Use Parsing Objects

The traditional way of integrating object-oriented back-end with an external system is through data transfer objects, which are serialized into JSON before going out and deserialized when coming back. This way is as much popular as it is wrong. The serialization part should be replaced by printers, which I explained earlier. Here is my take on deserialization, which should be ...

Read More »

Using Apache Kafka for Asynchronous Communication in Microservices

While microservice architecture might not be a silver bullet for all systems, it definitely has its advantages, especially when building a complex system with a lot of different components. Of course, if you’re considering microservices, you have to give serious thought to how the different services will communicate. In this post, we’ll look at how to set up an Apache ...

Read More »

Polyglot Applications

We had centralized applications. We introduced with distributed applications. Now, we have decentralized applications. Will it replace the whole system? I remember the emerge of NoSQL databases when I think about the future of data stores like IPFS which are designed as a P2P data store. One was claiming that NoSQL databases will replace SQL databases and another opposite of ...

Read More »

Testing your code with Spock

java-interview-questions-answers

Spock is a testing and specification framework for Java and Groovy applications.  Spock is: Extremely expressive Facilitates the Given / When / Then syntax for your tests compatible with most IDEs and CI Servers. Sounds interesting? Well you can start playing with Spock very quickly by paying a quick visit to the Spock web console.  When you have a little test ...

Read More »

Running Tomcat and Oracle DB in a Docker container

In one of my previous posts I showed how to run an ADF essentials application on Tomcat in a docker container. I am using this approach primarily for sample applications as a convenient way to share a proof-of-concept. In this post I am going to describe how to enrich the docker container with Oracle DB so my samples can be ...

Read More »

Java May Use UTF-8 as Its Default Charset

Because Java-based applications are often used in a wide variety of operating systems and environments, it is not uncommon for Java developers to run into issues related to character-based input and output. Blog posts covering these issues include The Policeman’s Horror: Default Locales, Default Charsets, and Default Timezones; Annotating JDK default data; Encoding issues: Solutions for linux and within Java ...

Read More »

Agile Transformation: See Your System and Culture (Part 3)

If you read my scaling agile series, you can see that becoming an agile organization requires seeing your organization as a system with a culture. You can start with teams, move to programs and the product part of the organization. If you don’t also address the cultural problems of rewards, you won’t continue with your agile transformation. You know why ...

Read More »