Blog: Gerard Davison


199 blogs updated: 35 min. ago
What is bound to generic types for method references in java 8, types and exceptions
So most of the time you are probably aware of method references that either reference instance of static methods directly, and they are usef...
6
15-08-2016 17:41:44 Gerard Davison Advanced
Getting a name for someone to connect back to your server.
When doing test automation it is often the case you need to know the name of the current machine in order to prompt another machine to conne...
3
02-06-2016 17:38:27 Gerard Davison Advanced
Converting string configuration properties to other types, with a bit of Optional.
Somedays you come across some code and think that's pretty, why didn't I think of that? So my long time colleague Mark Warner has a nice twi...
6
07-04-2016 18:23:10 Gerard Davison Advanced
Lambda of Lambda, if/else from an Optional
So I got frustrated with two limitations of the Optional interface in JDK 8. The first problem is that there is no obvious way to perform an...
4
10-03-2016 11:34:39 Gerard Davison Advanced
Getting hold of an un-used port when writing a test
A really quick post today, I was writing a unit test that needed to put up a temporary JAX-RS resource in order to test something very speci...
4
02-03-2016 18:23:21 Gerard Davison Advanced
Removing multiple items from a JavaScript array, no for loops
So I was reviewing some code today that was using two for loops to remove elements from a JavaScript array, I won't relate the code here but...
6
20-01-2016 17:03:56 Gerard Davison Advanced
Beware of slightly different behaviour between ConcurrentMap and ConcurrentHashMap for computeIfAbsent
So I was refactoring some code to use non-locking collection classes and I noticed the this significant different between ConcurrentMap.comp...
6
12-01-2016 16:24:20 Gerard Davison Advanced
A very simple implementation of Suite to make it easy to run across a bunch of test machines at the same time.
So I was presented with a large suite that I need to distribute amongst an arbitrary number of Hudson slaves. Now my first guess would be to...
0
25-11-2015 10:54:00 Gerard Davison Advanced
Creating a shared library for Jersey 2.19 to use with Weblogic 12.1.3
Weblogic server comes with a shared library so you can deploy JAX-RS 2.0 applications; but is limited to Jersey version 2.5.1 and the instru...
7
31-07-2015 11:32:00 Gerard Davison Advanced

© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení | Top SQL Blogs | monitored using: sitemonitoring

Top Java Blogs is a Java blog aggregator (with English-written blogs only) focused on Java SE, Java EE, Spring Framework and Hibernate.