Tomas Tulka's Blog
Random thoughts about programming and other stuff.
It's recommended to avoid any asynchrony within the scope of the test. Unfortunately, this is not possible everywhere.
Not everywhere could be immutable objects used to ensure thread-safe code.
A small program to generate JSON data.
Let's build a simple but powerful application package manager with Ant.
This article will show you how to implement an Ant task which consume a sequence of sub-task and call them with a parameter of the result from the execution.
In the case of generic beans sometimes you need to get the generic type value for some specific reasons. A typical example could be parsing some data into the type.
Sometimes you have a type of bean in the Spring framework which you want to create by every asking for it - in the scope prototype.
...is very bad practice. Nevertheless, it is not so rare to meet it.
This article is about a custom integration of Java Authentication and Authorization Service (JAAS), Central Authentication Service (CAS), and Spring Security.
It is pretty easy to find how to run built-in JAAS plugin, but what shall you do when you want to your own JAAS LoginModule implementation for ActiveMQ broker authentication (for instance when you have the module already written)?