29 November 2018

Websocket examples

Websocket examples using

27 November 2018

GDPR compliance of dominant IT consumer platforms

ForbrukerRadet, the Norwegian Consumer Counsils, published a report Deceived By Design on privacy compliance with GDPR in the dominant IT consumer platforms.

24 November 2018

Refactoring 2nd Edition released

After 19 years the second edition of Martin Fowler's refactoring book sees print.
Here's an overview of the changes.

IntelliJ multiline TODO comments

After 8 years and +300 votes this feature has been implemented in the 2018.3 edition of JetBrains IntelliJ

21 November 2018

16 November 2018

Spring Data Release train names

The spring data release trains are named after famous computer scientists, some of them living! The release train is a bundle of recent compatibe Spring Data subprojects (JPA, Redis, MongoDB, Solr, REST...). Basically they all refer to the same Spring Data Commons version. The names are ordered alphabetically, clearly inspired by Android's alphabetically ordered releases named after candy, Here's the list up to this day:

2013-02: Arora
2014-02: Babbage
2014-03: Codd
2014-05: Dijkstra
2014-09: Evans
2015-03: Fowler
2015-09: Gosling
2016-04: Hopper
2017-01: Ingalls
2017-10: Kay
2018-09: Lovelace
2019-10 : Moore
              : Neumann

9 November 2018

WSDL 1.1 <definitions> and Java mapping (updated)

  • All wsdl:xxx elements are direct children of <wsdl:definitions>. 
  • Composition indicates XML child elements
  • Attributes indicate XML attributes
  • Relations are attributes referring to the name of other elements

7 November 2018

MS Office and Google Drive File Stream: Safe to edit

Google drive file stream  is now adding an real-time presence to your Microsoft Office documents.
In the bottom right corner of your documents you see a Safe to edit message to indicate no one else is working in the file.
You will also see who is editing and be able to merge after simultaneous editing.
You need to have the Drive File Stream Client installed for this feature to be active. Google is doing this without any Office plugin. When you launch the office document from your synced drive the Drive Client monitors it and displays the messages on top. Nice work Google!

5 November 2018

Spring Web Flow and Spring Boot DevTools problem: SpelEvaluationException: EL1004E: Method call:cannot be found

When calling a method with arguments using the <evaluate>  tag in a spring webflow XML definition I get the error SpelEvaluationException: EL1004E: Method call: xxx cannot be found.
I am using Spring Boot Devtools for automatic server restart upon changes.
The embedded LiveReload server uses two classloaders, and thinks the the classes of the parameters supplied by spel in the XML are different from the (same) classes in your Java code.
Hence the method is not found, and an exception is thrown.
Possible Solutions:

  • Do not use Spring Boot Devtools for Spring Web Flow projects
  • Follow the guidance in the description of the bug