GraphQL is a query language for APIs that allows clients to request limited data they need, making it possible for clients to gather data in a limited number of requests. GraphQL is strongly typed protocol and all data operations are validated against a GraphQL schema.
Imagine you have a system used by multiple users, where each user is trying to modify the same entity concurrently. How do you ensure that the underlying data’s integrity is preserved when accessed concurrently?
Maven plugins are nothing but software components that allow reuse of common build logic across multiple projects or modules. In this article, I would like to demonstrate how to build a maven plugin and test it.
Factory method design pattern is one of the well-known “Gang of Four” (GoF) design patterns and it is a creational design pattern that uses factory methods to deal with creating instances without specifying the exact class of the object that will be created.
Every now and then, it’s important to have only one instance for a class. Usually singletons are used for centralized management of resources and they provide a global point of access to themselves. Some of […]
I deal with integration tests for RESTful applications a lot, however, I had not particularly tried Test Driven Development (TDD) methodologies. Therefore, I decided to give it a try and I can now tell that […]
Combining Spring Boot and Angular using maven can be a challenging task. In this post, we will create a simple web app using Spring Boot and Angular 6 and package them together in a war […]
Java 9 is finally here, and its Java Development Kit (JDK) is available for download. It is packed with new features, including modularisation, ahead-of-time compilation, new HTTP client, HTML5 Javadoc, jshell, process API updates and so on.
When developing an application, security is a major concern. Any piece of code or application running over network is vulnerable to risks and can threaten privacy, security and integrity issues. According to Open Web Application […]
Since APIs are designed to be consumed, it is important to make sure that the client, or consumer, can quickly implement your API and understand what is happening. As you build out your API you […]