Author Archives: Jesper Udby

About Jesper Udby

I'm a freelance computer Geek living in Denmark with my wife and 3 kids. I've done professional software development since 1994 and JAVA development since 1998.

Binary Search

Wow that is ancient technology you might think – can more be written about that? Probably yes 🙂 So Binary Search has been around for as long as we’ve had sorted lists and the need to locate a specific element … Continue reading

Posted in Java | Tagged , | Leave a comment

Mutable

So you might wonder – “Mutable” – what is that all about? In general we prefer things to be Immutable. With immutability comes improved performance because we do not have to copy things around and the JIT can do some … Continue reading

Posted in Java | Tagged , | Leave a comment

Generating garbage…

At JCrete the last couple of years I’ve had the pleasure to be socializing with, among others, HFT people like Peter Lawrey and Martin Thompson. Those HFT dudes really makes me thinking when I’m implementing stuff. Thinking about how much … Continue reading

Posted in Fun, Java | Tagged , | 1 Comment

SafeEquals

I’m currently designing a user-authentication OAuth2 based service. I’m trying very hard never ever to reveal anything about users or passwords. Credential-lookup by userid is always done twice. If the user is not found a known dummy-user is looked up … Continue reading

Posted in Java, Open Source | Tagged , | Leave a comment

YN

Yeah, I know, this isn’t rocket science. But it is rather nice 🙂 So, I’m working on this JEE project, backed by an Oracle database. Some of my work involves refactoring CMP 2.1 entities into JPA entities. Here I’m faced … Continue reading

Posted in Databases, Java | Tagged , , , , , , | Leave a comment

Unit testing really simple implementations

As an independent subcontractor (freelance consultant) I get to work in various very different organisations, with very different approaches towards testing in general and unit-testing in particular. Some places unit-testing is mandatory and there might even be a code-coverage tool … Continue reading

Posted in Java | Tagged , | Leave a comment

Bad sample code…

Okay, I just HATE bad code. I’m not religious about how you express your business logic in the code. I don’t mind “different” indentation or long methods although I try to keep my own code as short and simple as … Continue reading

Posted in Fun, Java | 1 Comment

Handing over JAVA components to L3 support…

Java Specialist13:13 Hi Udby, Jesper13:13 Hi Java Specialist13:13 we are unable to build with existing set up can you give us ear file to me Udby, Jesper13:14 no, unfortunately not, I’m working from home today and do not have access … Continue reading

Posted in Fun, Java | Leave a comment

Salesforce wsc (sfdc-wsc): new release 23 coming

The current situation is a mess. There are now 3 known versions of the sfdc-wsc tool: The one at http://code.google.com/p/sfdc-wsc which I’m currently maintaining. The one at http://mvnrepository.com/artifact/com.force.api/force-wsc – don’t know who’s maintaining that but it seems alive. Then Victor … Continue reading

Posted in Java, Salesforce | Tagged , , , | Leave a comment

Salesforce wsc hacking: yet another Open Source encounter?

As I wrote in an earlier post I’ve volunteered to become a committer to the wsc tool and are in the progress of making minor tweaks and enhancements for a coming release 23. My plan was that this release should … Continue reading

Posted in Java, Open Source, Salesforce | Tagged , | Leave a comment