java

  • submit to reddit

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 - 2178 views - 10/13/14 by Pubudu Dissanayake in Articles

Beyond JSON: Introducing the Spearal Serialization Protocol

Spearal is a new, open-source, serialization protocol that aims to provide a drop-in replacement of JSON in - as a first step - HTML and native mobile...

13 replies - 17667 views - 10/05/14 by Franck Wolff in Articles

Simple SecurePasswordVault in Java

There are some instances when you want to store your passwords in files to be used by programs or scripts. But storing your passwords in plain text is not a...

1 replies - 6480 views - 10/05/14 by Jayanga 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 - 5604 views - 09/16/14 by Mateusz Haligowski in Articles

Alternative Logging Frameworks for Application Servers: WebLogic

Introduction Welcome to the second in the blog series of using alternative logging frameworks with application servers. This entry will focus on...

0 replies - 4893 views - 09/12/14 by Andrew Pielage in Articles

Geek Reading September 5, 2014

I have talked about human filters and my plan for digital curation. These items are the fruits of those ideas, the items I deemed worthy...

0 replies - 6252 views - 09/06/14 by Robert Diana 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 - 8421 views - 05/08/14 by Aleksey Novik 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 - 6286 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 - 10093 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 - 14379 views - 02/24/14 by Sebastian Laskawiec in Articles

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

0 replies - 4489 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 - 18040 views - 01/16/14 by Jethro Borsje in Articles

get current web application path in java

This is a code snippet to retrieve the path of the current running web application project in java

0 replies - 7744 views - 12/04/13 by Partheeban Thirumal in Uncategorized

Handling Keyboard Sortcuts in JavaFx

A lot of times you need to to assign some functionality to some keyboard shortcut like F5 or Ctrl+R  in your application. JavaFx also provides...

0 replies - 10241 views - 06/27/13 by Neil Ghosh in Uncategorized

How to call a rest webservice with an untrusted SSL certificate

In our development environments we have configured self signed SSL certificates for our applications. Obviously we won't spend money for internal dev servers....

0 replies - 9226 views - 11/16/12 by Rodrigo Asensio in Uncategorized

Java 2D Graphics (AWT)

A basic hello world graphics program. Use to get started in 2D graphics programming.

0 replies - 5943 views - 06/15/12 by Nick James in Uncategorized

Short Circuit Operator

0 replies - 7168 views - 04/10/12 by Snippets Manager in Uncategorized

Intersecting Lines

0 replies - 9389 views - 04/10/12 by Snippets Manager in Uncategorized

Very Quick And Simple Sudoku Solver

0 replies - 6757 views - 03/29/12 by Snippets Manager in Uncategorized

Java Program To Generate Magic Square

0 replies - 20114 views - 03/27/12 by shivaji chelladurai in Uncategorized