Sometimes an object instance is not enough; specially, when you use a stateful classes on concurrency environment runtime, a pool of object is a good solution to achieve a multithreaded executions.
In this article, I’ll show you how to set up this configuration with Spring.
Distributed applications is always a current topic in the articles and forum discussions; Microservices answers the need for application scalability and makes a good marriage with Cloud solution (AWS) or Virtual container (Docker).
In this post I’d like to do a little introduction of the concept behind these solution type.
In my previous post on the argument (Junit testing with Spring), I skipped a very interesting part of testing attributes in the code which are inside methods.
In these cases, Mockito it’s very helpful to solve the problem.
The Java Virtual Machine (JVM) manages the memory of the operation system in order to obtain the best performance by optimizing the usage of it.
In this article, I’ll put the focus on a particular part of the memory which involves the Singleton object in Java. This type of object, always more frequently used, make a good deal between the memory optimization and the performance result.
A very common schema, nowadays, is the need of transforming data and processing them through a pipeline where, at the end, we get the data ready to use.
In this article, I’ll show how to get it using Spring Integration by a simple example.
How accomplish a job using Spring Batch solution in order to using the same Spring technology adopted for a Web solution.
Easy to get, adding an administration monitor that helps to keep under control the process execution.
Spring Security makes available a good base customizable authentication layer to transform a plain web application into a secure one.
In this article I’ll show some of the behaviours that are customizable in a Spring solution. Obviously, I won’t describe all the possible parts but only a brief part of them but, I’m sure, once you got them, it’d be easy to understand how to customize even the deeper part of the code.