Enterprise Java
-
Handle custom exception types in JAX-RS
JAX-RS supports handling custom exceptions — thrown in either EJBs or CID beans — to custom HTTP responses. Assuming we have an “exceptional” EJB:…
Read More » -
Adding a “lite” Groovy web console to a Grails war
Suppose you have a Grails application deployed to a server – how would you go about finding out how the…
Read More » -
Spring Webflux – Writing Filters
Spring Webflux is the new reactive web framework available as part of Spring 5+. The way filters were written in a…
Read More » -
Continuous Delivery friendly Maven versions
A Continuous Delivery pipeline requires predictable software and dependency versions. Snapshot versions, which are common in Maven software projects, contradict…
Read More » -
How to map JSON collections using JPA and Hibernate
Introduction The open-source hibernate-types project allows you to map Java objects or Jackson JsonNode as JPA entity properties. Recently, thanks…
Read More » -
Configure Embedded H2 Console With Spring MVC Application
In our previous post we deployed a Spring MVC app using embedded H2 database to Tomcat. Browsing the data in…
Read More » -
Continuous Delivery of ADF applications with WebLogic Shared Libraries
Introduction There is a pretty popular architecture pattern when ADF applications are built on top of shared libraries. So the…
Read More » -
Neo4j: Cypher – Property values can only be of primitive types or arrays thereof
I ran into an interesting Cypher error message earlier this week while trying to create an array property on a…
Read More » -
Using JAX-RS exceptions for status codes
One way to send specific HTTP (error) status codes from a JAX-RS resource is to use the javax.ws.rs.core.Response class with…
Read More »