Marc Nuri - Blogging about business and technology (Page 10/13)

A thumbnail to represent the post Linux: How to list installed RPM packages
Learn how to list installed RPM packages in a Red Hat based Linux distribution or any other distribution that uses the RPM package manager.

Linux: How to list installed RPM packages

A thumbnail to represent the post MockMvc – Spring MVC testing framework introduction: Testing Spring endpoints
Introduction to Spring MVC testing framework, highlighting the advantages of using MockMvc instead of regular unit tests. The post shows three ways of setting up MockMvc and how using standaloneSetup has the advantages of unit and integration testing.

MockMvc – Spring MVC testing framework introduction: Testing Spring endpoints

A thumbnail to represent the post Spring Boot: How to change the application port?
How to configure the Spring Boot HTTP application server port using the `server.port` property.'

Spring Boot: How to change the application port?

A thumbnail to represent the post Spring Bean Scopes: Singleton with Prototypes
This post shows how to solve the scoped bean injection problems that arises when injecting a Prototype scoped Bean into a Singleton scoped Bean. It shows the different approaches to solve the problem and the advantages and disadvantages for each of them.

Spring Bean Scopes: Singleton with Prototypes

A thumbnail to represent the post Spring Bean Scopes: Guide to understand the different Bean scopes
Blog post showing the different Scopes available in Spring Framework with code demonstrating the use of each of them. Tests included.

Spring Bean Scopes: Guide to understand the different Bean scopes

A thumbnail to represent the post Java 10: Testing the new release
Java 10 was released the past 20th of March following the new tight six-month release schedule. This version comes just after the Java 9 release on September 2017 and marks this past release obsolete. This post shows some of the new features available in Java 10.

Java 10: Testing the new release

A thumbnail to represent the post Java 8 Streams: Convert List into Map
This post shows how to use Java Streams introduced in Java 8 to obtain a Map from a List using the method Collectors.toMap.

Java 8 Streams: Convert List into Map

A thumbnail to represent the post Spring Data MongoDB: Custom repository implementation
In this post we'll see how to define custom spring-data repository methods and their implementation for a book repository in MongoDB and how to write unit tests to check this custom implementation.

Spring Data MongoDB: Custom repository implementation

A thumbnail to represent the post Field injection is not recommended – Spring IOC
When running a static code analysis tool or inspecting/analyzing your code from your IDE, you may have encountered the following warning regarding your @Autowired fields: Field injection is not recommended. This post shows the alternatives to field injection and how to avoid this warning.

Field injection is not recommended – Spring IOC

A thumbnail to represent the post Docker container as a Linux system service
How to use a docker + systemd only approach to deploy containers as Linux services without the need for third party tools or complex deployment descriptors.

Docker container as a Linux system service

A thumbnail to represent the post Angular + Spring Boot integration using Gradle
How to serve an Angular (>2) using Spring Boot as the Backend, and a Gradle script to perform automated build and deploy tasks both for Spring and Angular.

Angular + Spring Boot integration using Gradle

A thumbnail to represent the post Windows: How to run PostgreSQL without installation (portable)
Learn how to run a PostgreSQL server on Windows without installation and how to manage it as a service.

Windows: How to run PostgreSQL without installation (portable)