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-594c0b634378c771075752/] 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-594c0b6343794282144102/]

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

Site Footer