Skip to content

Instantly share code, notes, and snippets.

@theotherian
theotherian / Jackson Mixins and Modules
Last active August 29, 2015 13:56
Using Jackson Mixins and Modules to fix serialization problems
Using Jackson Mixins and Modules to fix serialization problems
@theotherian
theotherian / SQL for iPhone messages
Last active August 29, 2015 14:08
SQL for iPhone messages
SQL for iPhone messages
@theotherian
theotherian / Java Constant Gotchas
Last active December 19, 2015 12:19
Constants and how they can be misleading
Sample code for ways Java Constants may not work as you would expect
Files for creating Maven Archetypes - part 1
XML for pom files to declare a dependency on Thread Local DNS
@theotherian
theotherian / ByteBuffer side effects
Created August 11, 2013 03:12
Bits.class is scary
Using ByteBuffer instances to allocate memory can be dodgy
@theotherian
theotherian / Jersey 2.0 client with generics
Last active December 20, 2015 22:18
Jersey 2.0 client with generics
It's easy to use Generics with Jersey 2.0 client
@theotherian
theotherian / Handlebars Helper Functions with Jersey
Last active December 24, 2015 04:58
A way to map Handlebars helper functions on the server side within a Jersey resource
A way to map Handlebars helper functions on the server side within a Jersey resource
@theotherian
theotherian / Binary Serialization Shootout Part 1
Last active January 1, 2016 04:29
A serialization shootout
JSON vs Smile vs Kryo
@theotherian
theotherian / Strong Soft Weak and Phantom References
Last active January 1, 2016 22:19
Different reference types in Java can be confusing
What does it mean?