Java ‘Virtual’ User Group

Have you enrolled yet?

The vJUG Banner

Since the beginning of November 2013 there is a new JUG in earth town. The ideal JUG for all Java people that sometimes have a hard time to get to there own local JavaUserGroup due to the remote locations or the bad timings and such.

The group is gathered on meetup. Given that it only just started and already had 3 sessions and over 650 members in 1 month, that’s a great start!

Session are brought to you using Google Hangouts + Live Streaming on the VirtualJUG YouTube channel, other communications like questions to presenters during the sessions are done via IRC on freenode. You can reach #virtualJUG channel (beware the # it’s also part of the channel name) with any IRC Client or through the webchat.

All sessions are recorded and minutes after session end you can watch it again on the YouTube channel. If if you don’t want to join you might want to watch a session there!

See you at the vJUG meetings.

DevOps JSR aka Java Config JSR

On twitter there were some rumbles on a Java Config aka Devops JSR. I went to read it’s mailinglist and it gave me a bit the creeps! And I thought  “ah no 140 chars is to short for a decent rant! so I wrote a rant on RebelLabs

Get going, what are you still reading here? You should be reading the link.

HTTP Statusses 7XX

Now add even more fun with randomizing HTTP Status 7XX.

A new version for Jersey has been released.

With using getRandom method you can return a randomized HTTP 7XX status (e.g. instead of sever error 500 or on unimplemented API calls )

Get the dependency with

<dependency>
    <groupId>be.redlab.jersey</groupId>
    <artifactId>http-7xx</artifactId>
    <version>1.1</version>
</dependency>

Release Info and tag at github

The new release also removes the rebel.xml file from the resources. Although it’s not in the source control, it was in the released artifact due to building that locally. The release is a bit over time due to my gpg key that was expired, that’s fixed now.

/**
 * Puzzle your users with returning a pseudo random HttpStatus7xx on every call.
 *
 * @return a pseudo randomly chosen HttpStatus7xx
 */
public static HttpStatus7xx getRandom() {
	return HttpStatus7xx.values()[RND.nextInt(MAX_RND)];
}