Blog Posts

Java application performance monitoring

I am going to present quick overview of useful tools which can be helpful when you trying to troubleshoot application in case of performance issues. Describing each tool, some overview is provided, the way the tool is installed, free/paid info, inclusion in the JDK and the information if it can be used in production environment. logs application logs, application server logs, database logs no installation free included with JDK can be used in production application server monitoring administration console provided

Continue Reading

JPA EntityManager operations order

I have run into interesting issue recently. I use in the project JPA + Hibernate + EJB. The issue concerns saving and deleting entities in the same transaction. Database table which is used has an unique constraint defined on two columns. What I have done was removing entity calling [crayon-5970db0bceb4f791678287/] then the new entity has been added with the same values in two properties associated with columns used in the unique constraint but different values in other properties using: [crayon-5970db0bceb56378749418/]

Continue Reading

Grails + Axon = CQRS (part II)

 As promised in one of the previous posts, I carry on series concerning Groovy, Grails and Axon framework in this case.  In Part I a few words have been written about Grails, CQRS and Axon. In this part, the sample application using mentioned technologies and architecture is presented. he application is developed in Grails. CQRS architecture is implemented with Axon framework support. There are two simple use cases in the application: entering new credit card transaction canceling created credit card transaction

Continue Reading

Jira – issue not visible on the agile board

JIRA agile, formerly known as GreenHopper (GreenHopper->JIRA Agile) has lots of nice features supporting agile planning during software development. This post involves th problem I have met using that feature. During my everyday duties concerning Jira from time to time I come across the following concern. When adding issue to the Jira it does not appear on the agile board. Specifically on the board describing sprint backlog or product backlog.It must be say that each agile board has corresponding filter

Continue Reading

Grails + Axon = CQRS (part I)

I continue series of posts regarding Groovy and Grails. In the previous post there were some starter information about Groovy programming language. In this one and the next one I would like to present sample application built with Grails and Axon which demonstrates a basic usage of CQRS architecture. Grails Grails is a rapid application development framework for the JVM. It is largely built on top of the Spring framework, and in particular, a lot of it is built on

Continue Reading

Groovy – Getting Started

As promised in the previous entry I am continuing series of Groovy posts. Starting from simple introduction we are moving to intermediate and advanced topics in the future posts. What is Groovy’s origin? Everything started in 2003 when James Strachan (official Groovy creator) wrote to Bob McWhirter: Wouldn’t it be “groovy” if we could have native syntax for lists, maps and regexs in Java like in most scripting languages? Wouldn’t it by “groovy” if we could have duck typing in

Continue Reading

Groovy – first time in Tiobe TOP 20

Idea about writing something about Groovy programming language came to my mind when I looked at Tiobe Programming Community Index for October 2013. Here is the index:   Firstly, I would like to write a few words summarizing how the index is produced. Tiobe takes into consideration programming languages fulfilling the following two criteria: language should have an own wikipedia page clearly saying that it concerns a programming language the programming language must be Turing complete The rating itself is

Continue Reading

Spring Integration

I have been really impressed by the Spring Integration project recently so I decided to write a few words about it. Just to make a quick introduction: Spring Integration can be described as an extension of the Spring programming model which supports Enterprise Integration Patterns. It enables lightweight messaging within Spring-based applications and supports integration with external systems via declarative adapters. Those adapters provide a higher level of abstraction over Spring’s support for remoting, messaging, and scheduling. In my opinion

Continue Reading

Smart Pointers (C++)

Smart pointers are very useful feature of modern C++ programming model. They are defined in the std namespace in the <memory> header file. Let’s see the raw and smart pointer in action: [crayon-5970db0bd0954018329669/] As we can see there is a clear advantage of using smart pointers instead of the raw ones. The standard library provide three smart pointer types which should be replacement for raw pointers as long as new code is developed: unique_ptr allows one and only one owner

Continue Reading

Visual C++ DataGridView – data binding

DataGridView is a control introduced in .NET Framework version 2.0. displaying data in customizable grid.  The control can be used in any application developed on .NET Framework using any language (C++, C#, VB) based on CLR (Common Language Runtime). The control can be customized through manipulating of DataGridView class properties. Some of them are: DefaultCellStyle, CellBorderStyle, GridColor, just to name a few. That is the short introduction do DataGridView Control. However, what I would like to concentrate in this post is

Continue Reading

Site Footer