A Bounded, Thread-Safe In-Memory Store for Java

Problem In test scenarios or lightweight application components, there is a need for a simple, thread-safe, in-memory data store that can temporarily hold a limited number of objects. The store should be easy to use, avoid external dependencies (e.g., databases), support generation and use of unique identifiers as keys, and automatically evict the oldest entries…

Test REST Services with Curl

Problem Often we want an easy way to test our REST services. Even if where are many tools around e.g. Chrome Plugins etc. it is maybe easier on servers to juts use curl to do the job. Basic PUT command curl -X PUT -H „<Header-Name>: <Header-Value>“ „https://<url>“ -v Add basic Authorization Curl already supports basic auth…