Posted on by , and | Posted in Developer Blog, synyx Blog | Tagged , , ,


 

Axon is a lightweight framework that supports the implemenation of CQRS patterns by providing commonly used building blocks. One of those patterns is an event sourced application architecture. Even though Event Sourcing and CQRS are orthogonal concepts they fit together very well and are often used together. Event sourcing in an ES/CQRS architecture means that all changes to the application state are done via domain events and the current state can always be rebuilt from the series of events available in a persistent event store. In addition to the event store there might also be one or more read models, for example to achieve opimtized query performance. No matter if there are read models or not, the event store is considered the single source of truth.


Posted on by | Posted in Developer Blog | Tagged , , , ,


Recently we had a problem related Springs auto-proxy feature that I think is worth writing about.

The Problem

We use Spring as our framework of choice because it provides us with a nice set of convenience features when bootstrapping and plugging together our application.
One of these features is caching: We cache our users' roles because their definitions are stored in a pretty slow external system and change rarely.


Posted on by | Posted in Developer Blog, synyx Blog | Tagged , , ,


Last week Stefan and me took part as guests at the para//el conference in Heidelberg. The actual program was separated into 2 keynotes, one per day, and 36 talks, 18 per day, three at a time (in parallel). Right at the beginning it was said, that we were two out of 150 participants, which, I would say, leads to a nice atmosphere. It wasn't difficult to attend a discussion or meet other people during the pauses and I haven't further experienced, quite contrary to other conferences, any large queueing at launch. Why? Well, someone encountered that a table, if placed correctly, offers space for more than one line at the buffet, which is quite a good news! 🙂


Posted on by | Posted in Developer Blog, synyx Blog | Tagged , , , , ,


This is the second article of a springboot & reactjs article series about server side rendering and progressive enhancement. In the first article we have learned how to render a ReactJS app on the server with nashorn. However, actually it is not really an "app" yet. Currently we just see a static list of awesome products...


Posted on by | Posted in Developer Blog, synyx Blog | Tagged , , , , ,


This is the first article of a series about server side rendering and progressive enhancement. We will implement a product list that can be sorted by two parameters. Furthermore the app will be progressively enhanced, means the html document is rendered on the server and javascript will just enhance the app on the client if possible.


springboot & reactjs article series

  1. server side rendering ✅

Posted on by | Posted in Developer Blog, synyx Blog | Tagged , , , , , ,


If you nowadays visit a conference, you still might get into contact with sessions where people are talking about monitoring or at least some aspects of it and ALM (application lifecycle management) is a really important discipline a team or project should should take into account right from the beginning and no, this doesn't mean that you should trim or optimize prematurely, but to have an eye on it. Next to the developers and operators we can identify many more stakeholders who are interested in the data, but generally they prefer a different view on the data.


Posted on by | Posted in Developer Blog | Tagged , , , , , , , , ,


So that's it. Three days, 2.000 Developers from 20 countries, over 140 speakers from around the world, and one outstanding beautiful city. It is for the first time, when Devoxx Poland (previously known as 33rd Degree), one of the most recognizable European Java Conference took place in Krakow, the city of the polish kings, and one of the most important places in whole polish history. It took place from Monday to Wednesday last week in the ICE Conference Center, which is located directly by the Vistula river, with beautiful view over the Wawel Royal Castle.


Posted on by | Posted in synyx Blog | Tagged , , , ,


Warum in die Ferne schweifen, wenn das Gute doch so nah ist?

Das dachten sich dieses Jahr auch vier Entwickler von synyx, und machten sich daher am 17.07. auf nach Stuttgart zum JavaForum der Java User Group Stuttgart (JUGS).
Die Vorteile liegen auf der Hand: kurze An-/ Abreise, große Auswahl an guten Vorträgen, super Verpflegung, und das alles zu einem relativ günstigen Preis.

 

08:05 Uhr, Hauptbahnhof Stuttgart


Posted on by | Posted in Developer Blog | Tagged , , , , , , ,


Code gluse

Today's post targets an API, which has been released on Dec. 11, 2006; the javax.scripting package [1] and a lot of good articles that have been written around it.
The intention for this post is not about 'how to use the scripting packaging', but about gluse. So what do I mean with the phrase gluse? Gluse is a coinage
for glue and (re)usage. As many of the Java developer know about the plenty of good libraries from maven central / github and the integration process, a few of them
might ask how to integrate libraries from other languages as well. As many of the every day problems have already bean addressed, there is a good chance that someone else has done the job for you and is willing to share.


Posted on by | Posted in Developer Blog, Open Source Blog, synyx Blog | Tagged , , , , , ,


Metrics by yammer provides runtime metrics and statistics for all kind of apps you can imagine. A lot of stuff is directly useable out of the box, for example measuring request/response cycles of webapps and provide histograms of the measured values. So, lets try enabling a simple Java-Application built by maven.

First we add needed dependencies into our pom:

        
        
            com.yammer.metrics
            metrics-core
            3.0.0-BETA1
        

After providing this, we are able to do something like that in our code: