Enterprise Java
-
How To Stream/Serialize JPA Result As JAX-RS Response For Large Data
There are times that retrieving a large data set through JPA is necessary (e.g. more than 1,000,000 records) and having…
Read More » -
The Philosophy of the CUBA Platform
A huge amount has happened recently. Following the official launch of CUBA on 1st of June, we have rolled out…
Read More » -
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 » -
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 » -
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 » -
Writing a download server. Part I: Always stream, never keep fully in memory
Downloading various files (either text or binary) is a bread and butter of every enterprise application. PDF documents, attachments, media,…
Read More »