Enterprise Java
-
Mockito: Cannot instantiate @InjectMocks field: the type is an interface
Anyone who has used Mockito for mocking and stubbing Java classes, probably is familiar with the InjectMocks-annotation. Use this annotation…
Read More » -
REST: Creating resources
Resource creation is a common REST API operation. In this post we will see how single resource can be created.…
Read More » -
Migrating Neo4j graph schemas in Kubernetes
When running enterprise applications with zero-downtime, we need to be able to perform database schema migrations without disrupting active users.…
Read More » -
RESTful services with HATEOAS: REST APIs and Hypermedia on JVM
1. Introduction So far we have spent a fair amount of time talking about the role of the hypermedia and…
Read More » -
How to restore a Neo4J backup on managed Kubernetes
In the following video I’ll explain how to restore backups of Neo4J instances to a fresh instance that runs in…
Read More » -
How to backup Neo4J on managed Kubernetes
In the following video I’ll explain how to take full and incremental backups of Neo4J instances that run in a…
Read More » -
Mock Void method with Mockito
Hey guys! After our previous blog on difference between thenReturn and thenAnswer mockito methods, we are back with yet another…
Read More » -
Containerizing Spring Boot Applications with Buildpacks
In this article, we will see how to containerize the Spring Boot applications with Buildpacks. In one of the previous…
Read More » -
REST: Managing Many-To-Many relations
Introduction Managing relations between multiple resources can be an essential part of an RESTful API. In this post we will…
Read More »