Team Blog
  • TouK
  • Portfolio
  • Careers
  • Talks
  • Nussknacker
Team Blog
  • TouK
  • Portfolio
  • Careers
  • Talks
  • Nussknacker

Dominik Przybysz

24 posts
DDevelopment & Design

Deploy WSDL file as OSGI Bundle in Apache Karaf

  • byDominik Przybysz
  • August 16, 2016
Introduction WSDL file describes webservices. Java classes are often generated from WSDL. For this purpose, we could use command line tools (e. g. wsdl2Java or Read more
DDevelopment & Design

Easy Hoogle usage from bash

  • byDominik Przybysz
  • January 31, 2016
What is hoogle? Hoogle is Google for searching of Haskell functions. You could ask it for function name or its signature. There is available command Read more
DDevelopment & Design

Do not use AllArgsConstructor in your public API

  • byDominik Przybysz
  • January 17, 2016
Introduction Do you think about compatibility of your public API when you modify classes from it? It is especially easy to miss out that something Read more
DDevelopment & Design

Primitives and its wrapped types compatibility

  • byDominik Przybysz
  • December 13, 2015
IntroductionHow often do you think about possible changes in your API? Do you consider that something required could become optional in future? How about compatibility of such change? One of this changes is going from primitive (e. g. int) to its wrapp... Read more
DDevelopment & Design

Spring autowire with qualifiers

  • byDominik Przybysz
  • December 8, 2015
Introduction Autowired is great annotation, which by default inject beans by type to annotated element (constructor, setter or field). But how to use it, when Read more
DDevelopment & Design

Scheduling tasks using Message Queue

  • byDominik Przybysz
  • December 2, 2015
Introduction How to schedule your task for later execution? You often create table in database, configure job that checks if due time of any task Read more
DDevelopment & Design

Kotlin’s extensions for each class

  • byDominik Przybysz
  • November 14, 2015
Extensions in Kotlin are very powerful mechanism. It allows for add any method to any of existing classes. Each instance has (as in Java) equals, toString and hashCode methods, but there is much more in Kotlin.Example classesLet's define some simple cl... Read more
DDevelopment & Design

Kotlin, Callable and ExecutorService

  • byDominik Przybysz
  • October 11, 2015
I've recently written about using Callable in Groovy, but how does it look like in kotlin?Callable instance as separete class First, let's create class which implements Callable interface:class MyJob : Callable<Int> { override fun call() = 42}... Read more
DDevelopment & Design

Easy configuration usage with ConfigSlurper

  • byDominik Przybysz
  • September 20, 2015
What's the problem?We have to deal with properties in almost every projects that we write. Properties class, which we use in these cases, is just mapping key to value. Sometimes it is fine, but in many cases properties look like tree. Example of proper... Read more
DDevelopment & Design

Groovy, Callable and ExecutorService

  • byDominik Przybysz
  • September 7, 2015
Suppose you want submit job to ExecutorService. The Baroque versionYou could create a class that implements Callable:class MyJob implements Callable<Integer>{ @Override Integer call() throws Exception { return 42 }}and give it to ... Read more
Team Blog
© TouK sp. z o.o. s.k.a. 2016-2023