Integration of D3 in AngularJS Applications

AngularJS and D3.js are two powerful JavaScript frameworks. This post shows how to combine Angular and D3 to create reusable charts supporting Angular's databinding easily.
Nils Nowak
Nils Nowak
comment icon 0 22.08.2016

Mocking framework comparison: Mockito

Unit testing is essential to produce good software. As a unit test is intended to cover only a very small piece of code we need to mock out other components. This post provides an introduction into the widely used mocking framework Mockito.
Andreas Günzel
Andreas Günzel
comment icon 0 10.08.2016

Simple Excel export for a Spring based web application

Have you ever had the need to provide a simple Excel export for existing data within your Java web application? Are you already thinking of reporting engines, complex binary formats and complicated merging of data. Then read on and find a simpler solution.
Avatar
Daniel Weisser
comment icon 0 03.08.2016

Agreements under Test – Part I

Being part of a software development team, bound to an organization leads to a variety of agreements. As a Java developer I often adhere to the mature rules from Effective Java (Joshua Bloch) or from the Design Patterns Book of the Gang of Four (Erich Gamma et al). To bring that idea to future developers I often use Unit tests to express the common sense behind these rules as code. And I don't overdo it but use parameterized tests excessively. So my code does not only contain the technical solution to a functional requirement and the necessary unit tests. In addition I provide unit tests for the non functional requirements. As an introduction I chose internationalization (i18n) requirements to be unit tested.
Alexander Methke
Alexander Methke
comment icon 0 29.07.2016

Getting started with D3.js

D3.js is an open-source JavaScript library providing methods and tools to ease the integration of current web technologies like CSS or SVG. This post provides a nice introduction into the core concepts and usage of D3.js.
Nils Nowak
Nils Nowak
comment icon 1 20.06.2016

Basics of continuous database integration with liquibase

Simple and fast refactoring of your database model is one of the most important things in order to implement flexible business requirements. Learn the basics of continuous database integration with liquibase. Liquibase supports tracking, managing and applying database schema changes. Feel the power and simplicity of liquibase.
Steffen Mall
Steffen Mall
comment icon 1 07.06.2016

Fighting the Transaction Reaper

Long running transactions might be killed by the App Server's Transaction Reaper. I have implemented a litte helper to programmatic handle such kinds of exceptions.
Andreas Günzel
Andreas Günzel
comment icon 0 31.05.2016

Intermediate commit within transaction

For long running transactions sometimes we wish to commit a kind of intermediate result to the database. This sounds pretty simple – however, if we do not want to commit the current transaction, you may run into deadlock situations. In my current project I implemented a nice solution using JPA and EJB.
Andreas Günzel
Andreas Günzel
comment icon 0 19.05.2016

Testing your rules without pain

In my current project we decided to use JBoss Drools 6, mainly for mapping data. It turned out to come in quite handy. However, when I tried to unit test my rules I was astonished how clumsy and cumbersome that was. Therefore I wrote a little library containing a JUnit-Runner that hides the needed boiler plate code and just lets you focus on the important thing: testing the rules.
Janine Eichler (guest author)
Janine Eichler (guest author)
comment icon 0 29.04.2016

JAX 2016: Thursday Close-up

I’ve always wanted to attend a Java conference this big. This year I finally had the chance to participate for one day. I was too enthusiastic to concentrate on one specific topic. Therefore, I had quite a wide range of subjects like Elasticsearch, Continuous Documentation and Internet of Things.
Aleksandr Schewelew
Aleksandr Schewelew
comment icon 0 21.04.2016