I’ve spent enough time dealing with Java programs to see enough ETL’s and other sorts of command-line based apps implemented in Java. And with these sort of programs came with the realization that more often than not developers opt for the “easy” way out and end up implementing command-line parsing by themselves. This seem to […]
Posts Tagged: apache
Breaking into open source
I read recently Shubheksha‘s blog post “A Beginnerโs Very Bumpy Journey Through The World of Open Source” which describes her initial journeys into the open source world and reminded me a bit of some of my initial adventures into open source. (I even wrote a blog post ages ago — my goodness, literally ages ago […]
Issue with Jersey Multipart Libraries: Missing start boundary
This one had me pulling my hairs off and going crazy trying to figure it out so I thought it deserves a space on my blog ๐ While it’s what it looks like a small fix, it turned out to be a b**ch in terms of googling for an answer as whatever combination of search […]
Parallel Sorting in Java 8
I started playing with Java 8 relatively recently (booo! ๐ ) — and going through the new features this JDK brought, I keep discovering things which I feel deserve more attention than they have been given. Sure, everyone is raving about the lambda expressions, try-with-resources and so on, but occasionally there are small additions that […]
Using Apache Commons CLI to Parse Arguments
I’ve talked before on this blog about Apache Commons CLI project and showcased how easy it is to use it to build a rather complex command-line syntax for your Java application. If you find yourself at any point writing an application which needs more than one command line switch, I strongly recommend Commons CLI is […]
(Disappointing) Review of My Blog’s Traffic
A while back I’ve boasted on this very blog about the amount of traffic it has reached — based on stats that I have pulled up from the Wassup WordPress Plugin. I have decided recently to have a closer look at the traffic — any blogger who’s taking himself seriously checks now and then on […]
Perf4J and Object Creation/Destroy
If at any point in your coding life you had to measure some component performance, chances are that you came across Perf4J at some point. To quote from their own website: Perf4J is to System.currentTimeMillis() as log4j is to System.out.println() There are of course other ways to measure timings of components execution, however, I found […]
Server Migration
Some of you might have noticed, some might not, but I finally got off my arse to migrate my liviutudor.com domain to a proper hosting package. Gone are the days where I had 2 servers stuck under my desk at home — as much as I had fun X11-ing into my Linux boxes and adding […]
Data Validation inside a List
Felt like sharing this, since there might be some other “dinosaurs” like myself (i.e. slow in their using the Apache Commons Collections) — and those guys might find this useful ๐ Occasionally you find yourself providing components that will be used by various modules in a project, and as such you have to employ strict […]
Apache Commons Collections
I discovered this recently myself (having not been a big fan of Apache Commons Collections in the past) — and it’s a useful feature if you are dealing with a list of objects that can be compared by more than one property. For instance, consider you have a list of Person’s (see class below) which […]