No matter what type of software you make, there will always be errors. There might be bugs in your code or an external system is just down at the moment. No matter what it is, it will cause you trouble. Asynchronous messaging (with JMS) might help to deal with such situations. Especially when you depend […]
A couple of days ago I published a post about the difference between queues, topics and virtual topics. Today I want to share some practical information on how to use virtual topics in ActiveMQ with Spring Boot. Virtual Topics Virtual topics are a combination of topics and queues. Producers will write messages to a topic […]
ActiveMQ provides a variety of different messaging patterns. While queues and topics are the most famous ones, virtual topics can combine the best of both worlds: multiple consumers with their own dedicated queue. Queues Queues are the most obvious messaging pattern implemented by ActiveMQ. They provide a direct channel between a producer and a consumer. […]
We use a login to secure our application and restrict its access to a certain group of users. But what if everybody should be allowed to use our application if he can prove he’s human? Well, we would use a captcha. The following example shows how we can use Google’s ReCaptcha for an anonymous login […]
Roughly about two years ago, I wrote an article called “Why using Spring’s @Value annotation is bad“. I described why you should avoid @Value annotations all throughout your code. By using @Value annotations in services, controllers and other Spring components, you will scatter your configuration through the complete application. In the worst case, you will […]
During the last 6 months I did the Full Stack Web Development course on Coursera. Since I’m currently about to finish the course by implementing my final capstone project (https://github.com/tuhrig/mebo), I wanted to share my thoughts about the course and its pros and cons. About the course The Full Stack Web Development course consists of […]
Whenever you write an AngularJS application, you will use modules. Modules divide you application into small logical pieces. Some pieces might depended on other, some might be totally independent.
angular.module('UserModule',); // no dependency!
angular.module('UtilModule',); // no dependency!
angular.module('MainModule',[ // 2 dependencies!
In the example above, you see three modules. A module called MainModule depending on two other modules, called UserModule and UtilModule. Note that this is […]