Discover and connect with journalists and influencers around the world, save time on email research, monitor the news, and more.
Recent: |
|
Past: |
|
In the good old days users logged in by using the combination of username and password. Although now... → Read More
Best practices are the backbone of software development (or so we are told). Every developer has his... → Read More
Spring MVC provides an easy way to create REST APIs. However, writing comprehensive and fast unit te... → Read More
The first part of this tutorial described how we can configure our unit tests which use the Spring M... → Read More
Spring Data JPA is a project which aims both to simplify the creation of JPA based repositories and ... → Read More
I am a bit ashamed to admit this but until yesterday, I had no idea that I can add validation to a REST API by using the @Valid and the @RequestBody annotations. This was not working in Spring MVC 3.0 and for some reason I had not noticed that the support for this was added ... → Read More
In the previous part of my Spring Data Solr tutorial, we learned how we can configure Spring Data Solr. Now it is time to take a step forward and learn how we can manage the information stored in our Solr instance. This blog entry describes how we add new documents to the Solr index, update ... → Read More
Most of the applications must have a some kind of a search function. The problem is that search functions are often huge resource hogs and they can kill the performance of our application by causing heavy load to the database. That is why transferring that load to an external search server is a great idea. ... → Read More
Because the standard project layout of a Java project defines only one test directory (src/test), we... → Read More
We have learned that “clean” unit tests might not be as clean as we think.We have done our best ... → Read More
This year I greeted Christmas in a different fashion: I was a part of the Java Advent Calendar. Let’... → Read More
Before we can create an application that uses Spring Data JPA, we need to get the required dependenc... → Read More
Creating repositories that use the Java Persistence API is a cumbersome process that takes a lot of ... → Read More
If we are writing integration tests for an application that uses Spring Framework, we can integrate ... → Read More
Every developer must understand two things: Architecture design is necessary. Fancy architecture diagrams don’t describe the real architecture of an application. ... → Read More
I have noticed that some Finnish IT professionals are complaining that being just a good employee is... → Read More
When we write unit tests that use mock objects, we follow these steps: &... → Read More
When we write tests to our data access code, should we test every method of its public API?It so... → Read More
A few years ago I was one of those developers who write unit tests for my data access code. I was testing everything in isolation, and I was pretty pleased with myself. I honestly thought that I was d... → Read More
This blog post describes how we can compile and package a simple Java project by using Gradle.Ou... → Read More