Transilvania JUG

Sponsors

Author Archives: attila.balazs

27
Dec
2011
0

Relaxed JSON parsing

JSON is a good alternative when you need a lightweight format to specify structured data. But sometimes (for example when you want the user to specify JSON manually) you would like to relax the formalism required to specify “valid” JSON … Continue reading

18
Oct
2011
0

Administrativia – DZone MVB membership

It is my great pleasure to announce that the Transylvania JUG contributors have been accepted into the DZone Most Valued Blogger program. It is the deal as with Java Code Geeks: they will re-publish posts chosen by them, while giving … Continue reading

11
Oct
2011
1

Using Jython from Maven

On the surface it looks simple: just add the dependency and you can run the example code. However what the jython artifact doesn’t get you are the standard python libraries like re. This means that as soon as you try … Continue reading

10
Oct
2011
1

Integrating Maven with Ivy

The problem: you have some resources in an Ivy repository (and only there) which you would like to use in a project based on Maven. Possible solutions: Migrate the repository to Maven (Nexus for example) since Ivy can easily use … Continue reading

23
Sep
2011
1

Administrativia – JCG Membership

It is my pleasure to announce that our blog has joined the Java Code Geeks site. This means that selected posts from our blog will be re-published on the JCG site (with full attribution an link back) helping to raise … Continue reading

23
Sep
2011
0

Capturing Log4j logging output

Lets say that you need to verify that a certain logging message gets printed in a unit-test. Then the first step is to pause and ask yourself: do I really need to do this? Unit-tests involving text matching are particularly … Continue reading

18
Sep
2011
2

Recording test performance with Jenkins

In many (most?) systems performance is an important non-functional requirement. And even if you attained the required performance, it is useful to keep an eye on it to detect if a codechange involuntarily deteriorates it. Enter the Performance plugin for … Continue reading

12
May
2011
0

Adding tab completition to Maven3 under Ubuntu

Maven 3 was released recently (depending on your definition of recent), but is not yet packaged for Ubuntu. This is generally not a problem, since the installation instructions are easy to follow (alternatively here are the installation instructions from the … Continue reading

20
Mar
2011
0

Navigating (Searching) Collections

The Java collections framework includes the concept of NavigableSets / NavigableMaps. The principle behind these interfaces is that taking a SortedSet/SortedMap you can use a subset of it. Some examples: Given the following set: 1 2 3 4 5 @Before … Continue reading

20
Mar
2011
0

Testing randomly

Some times it is useful to throw “random” data at your algorithm to see if it produces the correct result (see fuzz testing). This is especially true if you are writing some fundamental piece of code like a sort algorithm, … Continue reading

Page 4 of 512345
df