Memorynotfound Java Programming Tutorials
Spring LDAP + Spring Boot Embedded LDAP Configuration Example
In this tutorial we demonstrate how to use spring boot and spring ldap to configure an embedded LDAP server. LDAP (Lightweight Directory Access Protocol) is an open, vendor-neutral, industry standard application for accesing and...
Spring Boot Hazelcast Caching Example Configuration
Hazelcast is a Distributed In-Memory Data Grid tool and can be used as a caching provider for the spring framework abstraction caching layer. Using caching can improve the overall performance of your system. In...
Spring Boot Ehcache 2 Caching Example Configuration
Ehcache is an open source, standards-based cache that boosts performance, offloads your database, and simplifies scalability. It’s the most widely-used Java-based cache because it’s robust, proven, full-featured, and integrates with other popular libraries and...
Spring Boot Couchbase Caching Example Configuration
Couchbase is a NoSQL database that can act as a spring framework cache provider on top of the spring framework cache abstraction layer. Caching improves the overal performance of an application. Say you have...
Spring Boot Caffeine Caching Example Configuration
Expensive (CPU or I/O) bound operations can slow down your system. Caching is a way to improve the performance of your system. In this tutorial we demonstrate Caffeine Caching using Spring-Boot. You can use...
Spring Caching Example with Java and XML Configuration
Spring Caching Annotations In this tutorial we show you how you can leverage the spring framework caching abstraction to improve the performance of your system. At its core, the abstraction applies caching to Java...
Spring Boot – Spring Data JPA with Hibernate and H2 Web Console
The H2 database provides a browser-based web console that Spring Boot can auto-configure for you. In order to let spring auto-configure the H2 Web Console, we have to make sure we are developing a...
Initialization of an ArrayList in one line example
This tutorials demonstrates how to initialize a list or arraylist in one line in different ways. The traditional way to create and initialize an ArrayList is: List<String> planets = new ArrayList<String>(); planets.add(“Earth”); planets.add(“Mars”); planets.add(“Venus”);...
Spring Boot – Managing Profiles with @Profile Annotation Example
Spring Profiles provides a way to segregate parts of your application configuration and make it only available in certain environments. This is particularly useful when configuring different environments like development and/or production. In the...