Java
-
Generating JSON Schema from XSD with JAXB and Jackson
In this post, I demonstrate one approach for generating JSON Schema from an XML Schema (XSD). While providing an overview…
Read More » -
Strategy Pattern in Java 8
These are two examples on how to implement a Strategy pattern design using Java 8 functional style together with Cyclops…
Read More » -
JBoss BPM Suite Quick Guide – Import External Data Models to BPM Project
You are working on a big project, developing rules, events and processes at your enterprise for mission critical business needs.…
Read More » -
Auto-encrypting Serializable Classes
A crazy idea came up during the post-mortem discussions in the Coursera security capstone project. Can a class encrypt itself…
Read More » -
Infer: A Look Into Facebook’s New Java Static Analysis Tool
How can you improve your Java development workflow with Facebook’s Infer? If you keep in the loop with tech buzz (which…
Read More » -
Run java web apps in embedded containers with Maven, Jetty and Tomcat
While developing java web applications is very practical to have quick feedback from a “real” environment. In this post I’ll…
Read More » -
Writing a download server. Part II: headers: Last-Modified, ETag and If-None-Match
Caching on the client side is one of the foundations of World Wide Web. Server should inform client about validity…
Read More » -
Java REST JAX-RS 2.0 – How To Handle Date, Time and Timestamp Data Types
Be it X-Form-Urlencoded or JSON HTTP post to a REST resource end-point, there is no specific “data type” for date…
Read More » -
Quick tip: Exception handling in Message Driven Beans
Let’s do a quick review of exceptional handling with regards to Message Driven Beans. The entry point into a MDB…
Read More »