Aspect weaving is very neat way of doing things without cluttering your code. Today I’m looking into easy ways to monitor/profile performance of parts of my code. To do this I would like to be able to easily do something like this: Even if code above might seem as not […]
Category: Tech
Determine and specify OS-specific targets in ANT scripts
Very simple web-server
I’m playing with some JavaScript frameworks and some new editors. Brackets (adobe) is open source one, built particularly for developing web stuff. It has built-in server for live preview and it works really good. This, assuming that some simple mostly fast static content preview is desired. As soon as you save […]
Ansi color codes
Alternative to Windows console
Configure compiler errors for specific src folders
It has been very annoying not being able to configure exclusions for compiler warnings in eclipse. In many projects, there are auto-generated files that do not comply to any coding standards and our ‘Problems’ perspective is bloated with warnings that are not interesting at all. Worst is that developers stop […]
How to simultaneously fetch multiple bags with hibernate
JPA specification allows up to two simultaneous eager fetches. But sometimes when we really need to this – we are stuck. One way to achieve this is to use hibernate extensions. We could do something like this: [cc lang=”java” highlight=”2″] @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER, mappedBy = “keys”) @Fetch(value […]
How to make your own maven archetype
Very good Introduction to GIT
‘Reach’ released for the European market
Control your Android phone from your computer! The company (department) where I work, released this awesome app for you Android phone (You should have phone with Android >=2.2). It allows you to, regardless what data carrier you currently use (3G, GPRS, WIFI…), send and receive SMS, make calls, see all […]
