-
Enterprise Java
Spring Scoped Proxy
Consider two Spring beans defined this way: @Component class SingletonScopedBean{ @Autowired private PrototypeScopedBean prototypeScopedBean; public String getState(){ return this.prototypeScopedBean.getState(); }…
Read More » -
Desktop Java
Integrating JavaFX and Swing
I’ve just finished rewriting a component of my app that was using Swing and now is using JavaFX, I’ve ended…
Read More » -
Android Core
Android Jelly Bean notification tutorial
You may have heard about Android Jelly Bean (API level 16). Google has improved a lot of features and introduced…
Read More » -
Enterprise Java
Observer Pattern with Spring Events
INTRODUCTION The essence of the Observer Pattern is to ‘Define a one-to-many dependency between objects so that when one object…
Read More » -
Core Java
Which Java thread consumes my CPU?
What do you do when your Java application consumes 100% of the CPU? Turns out you can easily find the…
Read More » -
Enterprise Java
Gradle Custom Plugin
This tutorial describes the way of creating Gradle standalone custom plugin. It covers the following topics Creating task, and using…
Read More » -
Software Development
What’s better – Big Fat Tests or Little Tests?
Like most startups, we built a lot of prototypes and wrote and threw out a lot of code as we…
Read More » -
Core Java
Java memes which refuse to die
Also titled; My pet hates in Java coding. There are a number of Java memes which annoy me, partly because…
Read More » -
Software Development
Bcrypt, Salt. It’s The Bare Minimum.
The other day I read this Arstechnica article and realized how tragic the situation is. And it is not this…
Read More »