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 scopes2018-04-30 in Java tagged Bean / Java / Scopes / Spring Framework / Spring Boot / Testing by Marc Nuri
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 release2018-03-31 in Java / Legacy tagged Java / Java 10 by Marc Nuri
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 Map2018-03-30 in Java tagged Collector / Java / Java 8 / List / Map / Streams by Marc Nuri
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 implementation2018-03-09 in Java tagged Java / MongoDB / Spring Framework / Spring Boot / Spring Data / Testing by Marc Nuri
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 IOC2018-02-21 in Java tagged Dependency Injection / Inversion of control (IoC) / Java / SOLID / Spring Framework by Marc Nuri
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 Gradle2017-07-24 in Java / Front-end tagged Angular / Backend / Build / CI / Frontend / Gradle / Initializr / Java / JavaScript / Spring Framework / Spring Boot by Marc Nuri
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 provider2015-12-07 in Java tagged Apache Tomcat / Eclipse / EclipseLink / Hibernate / JDBC / JPA / Spring Boot / Spring Data / Spring Framework / Tomcat by Marc Nuri
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 mnIMAPSync2015-11-25 in Java / Tools tagged Backup / E-Mail / Mail / Migration / Open Source / Tutorial by Marc Nuri
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 simultaneously2015-11-15 in Java tagged Apache / Apache HTTP / Apache Tomcat / Application / Connector / HTTP / Java / Server / Tomcat / Web / www by Marc Nuri
Learn what causes the java.lang.OutOfMemoryError: GC overhead limit exceeded error, how to diagnose and fix it, and best practices to avoid it in the future.java.lang.OutOfMemoryError: GC overhead limit exceeded2014-12-20 in Java tagged Java / JVM / Memory / Performance by Marc Nuri
Learn what a Java heap dump is, why it's important, how to generate and analyze it, and improve your application's memory management.What is a Java Heap dump?2014-03-23 in Java tagged Java / JVM / Memory / Performance by Marc Nuri
How to use ByteCode Injection to fix a performance issue in BeansBinding libraryBeansBinding Performance (Issue 37)2008-11-18 in Java / Legacy tagged Beans Binding / Bytecode / Injection / Java / Performance by Marc Nuri