Enterprise Java
-

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 » -

Integrating Active Directory from Java
Firstly you will need to setup Active Directory so that you can run and test your code. If (like me)…
Read More » -

Problems with Cobertura and Sonar 5.1
Recently, I was having some bother trying to use Sonar 5.1 with my Grails 2.4.4 project. I was using the…
Read More » -

How to monitor a Java EE DataSource
Introduction FlexyPool is an open-source framework that can monitor a DataSource connection usage. This tool come out of necessity, since…
Read More » -

Types of JMSContext in JMS 2.0
If you follow Java EE, the simplified API components in JMS 2.0 (Java EE 7) will not be unknown to…
Read More »

