Collections

Posts tagged Collections

Fail Fast vs Fail Safe in Java

A system is called fail-fast if it stops immediately its execution when an error occurred. The system does not continue with the errors and these errors in the…

Collection merging in Spring

With this example we will show you how to merge Collections in Spring. Since Spring 2.0, the container supports merging of collections. You can define <prop/>, <list/>, <map/>…