• submit to reddit
Cedric Beust08/09/10
5013 views
0 replies

Complex Line Command Syntaxes With JCommander

Complex tools such as git or svn understand a whole set of commands, each of which with their own specific syntax:git commit --amend -m "Bug fix"Words such as “commit” above are called “commands” in JCommander, and you can specify them by...

Robert Diana08/09/10
21137 views
17 replies

12 Things A Programmer Really Needs To Know

How do you answer the question, “what do I need to learn to be a good programmer?” I have written posts trying to answer that question, typically focusing on the languages that you should learn or the algorithms and other techniques you need to know....

Mitch Pronschinske08/08/10
6244 views
0 replies

Poll: Best Free Virtualization Programs

Small to mid-scale virtualization can be done pretty cheaply in today's technology ecosystem.  There are many free and open source solutions that are perfect for tasks such as configuring a reusable development...

Steven Lott08/08/10
5146 views
3 replies

End User Programming -- Solution or Nuisance?

The question of "customization" and "extension" is a common one. For example, "non-technical users to be able to extend with simple scripts".Read this question on Stack Overflow: "Programming / scripting language aimed...

Baptiste Wicht08/08/10
17047 views
10 replies

File Copy in Java – Benchmark

Yesterday I wondered if the copyFile method in JTheque Utils was the best method or if I need to change. So I decided to do a benchmark.So I searched all the methods to copy a File in Java, even the bad ones and found the following methods :

Daniel Schneller08/07/10
14125 views
3 replies

Code Generation With Xtext

Recently I attended a local rheinJUG meeting in Düsseldorf. While the topic of the session was Eclipse e4, the night’s sponsor itemis provided some handouts on Xtext which got me very interested.

Shekhar Gulati08/06/10
7836 views
6 replies

Java Puzzler on Arrays

Today, while working with arrays I came accross a Java puzzle which made me wonder WHY IS THIS PIECE OF CODE NOT WORKING? Java PuzzleCan you guess whether this Junit test case will pass?

Mitch Pronschinske08/06/10
5894 views
1 replies

BlackBerry 6 and the SDK Land

This week, Research In Motion released the sixth BlackBerry platform, which is aimed at bringing the company's handsets into alignment with iPhone and Android technologies.  Along with this release, developers finally have a chance to get their hands on the...

Ted Goddard08/06/10
10881 views
1 replies

Working with JSF's f:convertDateTime and java.util.Date

During a recent class I taught on ICEfaces, one of my students asked me why the calendar was often one day off from what got posted back to the model managed-bean setter. For example: // Facelets XHTML Markup:<ice:selectInputDate...

Alex Collins08/06/10
5642 views
8 replies

Modern-day web development with Maven, Mercurial and Spring MVC - Part 2

A couple of weeks ago, I posted an article demonstrating how easy web developement in Java is these days. This article extends the previous and takes the Spring MVC annotated approach to a more real-world level.The Plunge The first thing we'll do is create...

Gurkan Erdogdu08/06/10
8186 views
2 replies

Defne, RichFaces, JSF, JPA and CDI: Nice Combo for Java EE Web Application

Defne is a service oriented web application framework. The main motivation behind Defne is ease of use. Defne allows developers to concentrate on their business logic while it provides all other application requirements such as transaction and security....

Rob Williams08/06/10
3683 views
0 replies

A Bug Story

Even with unit tests, integration tests, stress tests, there are times when you put something out into the wild and something starts happening that you have not seen before. Pushed out an app a few months ago. It exposes a web service interface. Calls into...

Solomon Duskis08/06/10
10065 views
1 replies

Spring Reading - Getting Started with Spring Framework

Here's a list of reading for getting started with Spring:

Ignacio Coloma08/06/10
4364 views
1 replies

URL-based Locale

We should assume that users will not always be browsing from a comfortable location (pronounce: home / work). Even if they do, every now and then I have guests at home that do not speak Spanish at all. Try opening the Google home page in a cybercafé in...