Posts under ‘Java’

Smooks processing recipies

Introduction In one of our customer projects we had a requirement to import CSV, fixed length and Excel files in different formats and store records in the database. We chose Smooks to accomplish this task. Smooks is a Java framework to read, process and transform data from various sources (CSV, fixed length, XML, EDI, …) [...]

SCA Async/Conversational services Part 2: Non-SCA Web Service client

Following my previous post on the internals of asynchronous and conversational services in Tuscany SCA, which options are available for consuming these services when you cannot use a Tuscany SCA runtime on the client?. Depending on the transport binding used you would expect to find a certain level of standarisation on conversational/asynchronous services implementation, allowing [...]

SCA Async/Conversational services Part 1: Internals of Tuscany SCA

Sometime ago I wrote about developing applications with SCA on a JBI-based infrastructure, using simple SCA services for that. I’m coming back again with two separate SCA blog posts discussing the usage of more complex services, asynchronous and conversational services: In this post, I provide an example client-server project that implements a conversational and asynchronous [...]

Human readable JVM GC timestamps

When we are diagnosing problems in a Java (EE or otherwise) application, is often a good idea to check how garbage collection is performing. One of the basic and most unobtrusive actions is to enable garbage collection logging. As you may know, if we add the following arguments to the java start command… -Xloggc:<file_name> –XX:+PrintGCDetails [...]

Dynamically changing log level with Weblogic, log4j, JMX and WLST

Logging is an uninteresting but nevertheless fundamental part of application development. It is useful not just when you are coding an application but in diagnosing problems of any nature once an application passes into production. Unfortunately, it is not that clear how to do logging well when developing JEE applications that are to be deployed [...]