-
Core Java
In JDK 9 (and well 8) and above everything can be a stream
In JDK 8 we finally got to use streams and everything was good apart from the times when the API…
Read More » -
Core Java
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…
Read More » -
Core Java
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…
Read More » -
Core Java
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…
Read More » -
Enterprise Java
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…
Read More » -
Enterprise Java
Per client cookie handling with Jersey
A lot of REST services will use cookies as part of the authentication / authorisation scheme. This is a problem…
Read More » -
Core Java
But that’s impossible, or finding out that the JIT has broken your code.
Every now and then you look at some code and think that it cannot be possibly be wrong. Once you…
Read More » -
Enterprise Java
Declarative Linking in Jersey 2.9 and up
A couple of weeks ago A couple of months ago I was looking how I was going to engineers new…
Read More » -
Enterprise Java
Quick, and a bit dirty, JSON Schema generation with MOXy 2.5.1
So I am working on a new REST API for an upcoming Oracle cloud service these days so one of…
Read More »