Marc Nuri - Blogging about business and technology (Page 11/14)

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)

A thumbnail to represent the post Spring Data JPA + EclipseLink: Configuring Spring-Boot to use EclipseLink as the JPA provider
Using EclipseLink as the persistence JPA provider in Spring applications. This tutorial shows how to configure Spring-Boot application to use EclipseLink.

Spring Data JPA + EclipseLink: Configuring Spring-Boot to use EclipseLink as the JPA provider

A thumbnail to represent the post Incremental E-Mail backup and migration using mnIMAPSync
This tutorial shows how to backup or migrate your IMAP e-mail account from one server to another. Including incremental periodic backups.

Incremental E-Mail backup and migration using mnIMAPSync

A thumbnail to represent the post Running Apache Tomcat and Apache HTTPD on port 80 simultaneously
Tutorial that shows how to run Apache Tomcat and Apache HTTP simultaneously on the same server listening to port 80. Uses mod_proxy.

Running Apache Tomcat and Apache HTTPD on port 80 simultaneously