java

  • submit to reddit

Man, Woman, Dog: A Task from the Past

Introduction This article is a personal reflection more than some kind of tutorial or how-to article--which I have mostly written in the past. It describes...

0 replies - 5798 views - 11/10/14 by Kosta Stojanovski in Articles

Reading emails from MS Exchange by consumig EWS using Java.

While enabling my application with MS Exchange, I end up writing this code. I used EWS Java API (EWSJavaAPI_1.2.jar) ( The JAR I uploaded with this...

0 replies - 496 views - 11/03/14 by Shantanu Sikdar in Uncategorized

Finding Neighbours in Game of Life.

This method I started writing by considering that every cell of the GOL board will have an id.In a 2 dimensional board I considered every cell has an id,...

0 replies - 1285 views - 10/27/14 by Shantanu Sikdar in Uncategorized

How to draw a Control flow graph & Cyclometric complexity for a given procedure

Cyclomatic Complexity  Cyclomatic complexity is a software metric used to measure the complexity of a program. This metric measures independent...

0 replies - 2956 views - 10/13/14 by Pubudu Dissanayake in Articles

A new way of extracting values in AssertJ collections assertions

We've been using AssertJ  in Young Digital Planet in several Java projects already and we love it. It makes our tests much easier to...

0 replies - 5968 views - 09/16/14 by Mateusz Haligowski in Articles

Oracle’s Latest Java 8 Update Broke Your Tools — How Did it Happen?

If you’ve been keeping up with the news in the Java world lately, you’ve probably heard that the latest Java 8 build released by Oracle, Java 8u11 (and...

0 replies - 6947 views - 08/11/14 by Chen Harel in Articles

5 Quick Points about Threads for Java EE

The idea of running code in parallel and getting work done fast is always tempting. And, its obviously cool to write multi-threaded code!! Still, very few...

2 replies - 8010 views - 07/11/14 by Theodore Ravind... in Articles

Spring Security Run-As example using annotations and namespace configuration

Spring Security offers an authentication replacement feature, often referred to as Run-As, that can replace the current user's authentication (and thus...

0 replies - 6327 views - 07/07/14 by Bojan Tomic in Articles

Java Code Review Checklist

Clean Code Checklist Item Category Use Intention-Revealing Names Meaningful Names ...

0 replies - 19557 views - 06/20/14 by Mahesh Chopker in Articles

The Best of the Week (May 9): Cloud Zone

Make sure you didn't miss anything with this list of the Best of the Week in the Cloud Zone (May 9 to May 15). Here they are, in order of popularity:1....

0 replies - 3046 views - 05/20/14 by Benjamin Ball in Articles

The Best of the Week (May 2): Enterprise Integration

Make sure you didn't miss anything with this list of the Best of the Week in the Enterprise Integration  (Apr. 18 to Apr. 24). Here they are, in order...

0 replies - 4404 views - 05/13/14 by Benjamin Ball in Articles

Java 8 Optional: How to Use it

Java 8 comes with a new Optional type, similar to what is available in other languages. This post will go over how this new type is meant to be used, namely...

0 replies - 10471 views - 05/12/14 by Aleksey Novik in Articles

Java 8 Optional: What's the Point?

 There's a new feature in Java 8 called the Optional class which is supposed to cure NullPointerExceptions. Apparently these annoy developers more than I...

29 replies - 15927 views - 05/08/14 by Hugues Johnson in Articles

Hibernate Debugging - Finding the origin of a Query

It's not always immediate why and in which part of the program is Hibernate generating a given SQL query, especially if we are dealing with code that we did...

0 replies - 9008 views - 05/08/14 by Aleksey Novik in Articles

What's Wrong in Java 8, Part II: Functions & Primitives

Tony Hoare called the invention of the null reference the “billion dollars mistake”. May be the use of primitives in Java could be called the million...

0 replies - 18109 views - 05/05/14 by Pierre-yves Saumont in Articles

An intro so Groovy/Spock testing, why you should consider it

As a developer, testing is very important. Some developers have the mindset of “Meh, I write code, testing is a QAs job”, which is pretty poor. It’s much...

0 replies - 6625 views - 04/25/14 by James Elsey in Articles

The Dark Side Of Lambda Expressions in Java 8

This post may not make me any new friends. Oh well, I was never really popular at school anyway. But let’s get to the point. Java 8’s biggest feature...

3 replies - 10613 views - 03/26/14 by Chen Harel in Articles

Brief comparison of BDD frameworks

Introduction Some time ago my team was asked to create up to date documentation of our projects. First we thought about Wiki page, it's far batter...

5 replies - 17056 views - 02/24/14 by Sebastian Laskawiec in Articles

Listing schema,table,column names in java using mysql db

0 replies - 5182 views - 01/17/14 by Benoy Prakash in Uncategorized

Spring @Async and transaction management

Introduction There are cases in which it is necessary to execute pieces of code asynchronous. An example is the sending of a (JMS) message from your system to...

2 replies - 19457 views - 01/16/14 by Jethro Borsje in Articles