• submit to reddit
David Shepherd03/18/11
6285 views
0 replies

Top three Tasktop and Mylyn tips

Recently I’ve been sharing Tasktop and Mylyn tips with users via Twitter. Twitter is a great medium for sharing every tip (or every thought), but in the Tasktop spirit of “Less is More” I want to share only the top tips with our blog readers. Without...

Andy Gibson03/18/11
6649 views
5 replies

Double the Speed of (some of) your JSF Pages (and dodge bugs too)

There was a thread on the JSF LinkedIn group about JSF performance and a number of people complained about the fact that as part of the restore view phase, JSF reconstructs the component tree including binding data to data tables causing unnecessary...

Ryan Sukale03/18/11
3945 views
2 replies

Runtime Class and Method information

Here is a small snippet that can be used to find the name of the currently executing method in Java.Throwable t = new Throwable(); StackTraceElement[] elements = t.getStackTrace(); System.out.println(elements[0].getMethodName());

James Sugrue03/17/11
7534 views
0 replies

Have Your Say On The Name For Eclipse Indigo + 1

With Eclipse Indigo just months away from being released, voting is open on a choice of eight names for Eclipse 3.8. Voting is open until March 20th, and the result will be announced at next week's EclipseCon. In keeping with tradition, the name will move...

Axel Rauschmayer03/17/11
5518 views
0 replies

One way in which Android really is more open than iOS

This post explains the tricky meaning of “open” with regard to Android: Sometimes Android is not open at all, sometimes its openness has negative consequences. The post concludes with one aspect of Android that is more open than iOS, in a manner that...

Marco Tedone03/17/11
7253 views
21 replies

Reflection or the "setter" antipattern?

Recently I came across an interesting dilemma. For some time up to now I've been including setter methods in my service interfaces to allow unit tests to setup mocks. The code though had a bad smell; all too often I kept asking the following question: why...

Constantin Alin03/17/11
38098 views
15 replies

How to watch the file system for changes in Java 7 (JDK 7)

Java 7 uses the underlying file system functionalities to watch the file system for changes. Now, we can watch for events like creation, deletion, modification, and get involved with our own actions. For accomplish this task, we need:• An object...

Senthil Kumar03/17/11
8700 views
0 replies

COOPER – Object Pascal for Java and Android

In the video below, Jim McKeeth, Developer Evangelist talks about the Project COOPER preview and provides an overview of OXYGENE  ( Object Pascal for .NET ) . COOPER is a true Object Pascal for Java and Android.  Jim McKeeth shows a demo of the project,...

Howard Lewis Ship03/17/11
5622 views
3 replies

Rethinking JavaScript in Tapestry 5.3

I've always had a love/hate relationship with JavaScript; some of the earliest motivations for Tapestry was to "encapsulate that ugly JavaScript stuff so I don't have to worry about it again." However, as I've come to appreciate JavaScript, over...

Rob Williams03/17/11
4963 views
2 replies

Logging in Java: Another Slow Motion Explosion

If someone said to you try and pick one aspect of the gigantic, hydra-like beast of Java that best typifies its current pathology, logging would probably be my choice. It‘s something that should be stupid simple, yet 15 years on, it‘s a buggered up...

Jan Gaspar03/16/11
6175 views
2 replies

DCI in AspectJ

A couple months ago I came across a DCI (Data, Context, Interaction) concept which I found quite interesting. Since Java does not support traits an implementation of the DCI in Java is a bit awkward.

Andy Gibson03/16/11
6541 views
1 replies

Delphi Still Fighting the War Lost Years Ago

Embarcadero announced the release of the Delphi XE Starter edition for building native windows applications. I spent many years as a Delphi developer before I made the switch to Java while the Delphi programming language and tools were top notch at the...

Rob Williams03/16/11
4714 views
2 replies

Deploying the JEE6 Archetype

Well, the good news is it is possible to get the new Weld archetype to work. The bad news is, the process, at least to me, is a treatise on why the Balkanized Java ‘platform‘ is actually like a schizoid portrait in madness. And it‘s nobody‘s fault....

Matt Raible03/16/11
4637 views
0 replies

Adding Search to AppFuse with Compass

Over 5 years ago, I recognized that AppFuse needed to have a search feature and entered an issue in JIRA. Almost 4 years later, a Compass Tutorial was created and shortly after Shay Banon (Compass Founder), sent in a patch.

Jay Fields03/16/11
7559 views
1 replies

Types of Technical Debt

As a developer at DRW, technical debt is often on your mind. Our front office teams work directly with their traders (often sitting directly next to them), and are exposed in real-time to their software needs. While sitting with the traders you see the...