java

  • submit to reddit

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...

0 replies - 2386 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 - 4235 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 - 10946 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 - 2610 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 - 3696 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 - 7324 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 - 13316 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 - 7058 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 - 14068 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 - 5495 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 - 8697 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 - 8357 views - 02/24/14 by Sebastian Laskawiec in Articles

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

0 replies - 2519 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 - 14171 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 - 4842 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 - 8807 views - 06/27/13 by Neil Ghosh in Uncategorized

The Truth About PaaS Vertical Scaling and Why You are Being "Oversold"

As you know, Jelastic PaaS has automatic vertical scaling, which allows you to pay less -- to pay for your actual resource...

1 replies - 8872 views - 01/24/13 by Ruslan Synytsky in Articles

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 - 7808 views - 11/16/12 by Rodrigo Asensio in Uncategorized

Bug Tracker Hell

Whether you call it a defect or bug or change request or issue or enhancement you need an application to record and track the life-cycle of these...

0 replies - 7047 views - 09/18/12 by Dalip Mahal in Articles

How to Take Unit Testing (and Test-Driving) Seriously

So we write some test code, then make it pass, and restart. If we have still some minutes in the current Pomodoro, let's refactor a bit and extract some...

0 replies - 15707 views - 08/21/12 by Giorgio Sironi in Articles