A Java geek

Nicolas Fränkel's blog

  • Me
  • Books
  • Speaking
  • Mentions
  • Focus
Oct 13, 2013 hack

getCaller() hack

As developers, we should only call public APIs. However, the Java language cannot differentiate between public API and private stuff: as soon as a class and one of its method is public, we can reference the former and call the later. Therefore, we are exposed to the Dark Side of the Force, and sometimes tempted to use it. A good example of this terrible temptation is the sun.reflect.Reflection.getCaller(int) method.

Nicolas Fränkel
Oct 6, 2013 design pattern java scala

A dive into the Builder pattern

The Builder pattern has been described in the Gang of Four Design Patterns book: The builder pattern is a design pattern that allows for the step-by-step creation of complex objects using the correct sequence of actions. The construction is controlled by a director object that only needs to know the type of object it is to create.

Nicolas Fränkel
Sep 29, 2013 book vaadin

Learning Vaadin 7 is out!

Hey everyone! No code nor rant for this week’s article but just very good news: Learning Vaadin 7 has been published! This new edition of Learning Vaadin describes of course what is new in Vaadin 7 as well has changes from v6 to v7, but also introduces some great additional stuff.

Nicolas Fränkel
Sep 22, 2013 hibernate jooq persistence

No more Hibernate? Really?

I recently stumbled upon this punchy one-liner: No More Hibernate!. At first, I couldn’t believe what I read. Then, scrolling down, I noticed that the site was linked to jOOQ, a framework that advocates for SQL to have a first-class status in Java: SQL was never meant to be abstracted. To be confined in the narrow boundaries of heavy mappers, hiding the beauty and simplicity of relational data. SQL was never meant to be object-oriented.

Nicolas Fränkel
Sep 8, 2013 java scala verbosity

On the merits of verbosity and the flaws of expressiveness

Java is too verbose! Who didn’t stumble on such a rant on the Internet previously? And the guy bragging about [Insert expressive language there], that which soon replace Java because it is much more concise: it can replace those 10 lines of Java code with a one-liner. Ah, the power! Unfortunately, in order to correlate conciseness with power (and verbosity with lack of power), those people take many shortcuts that once put into perspective make no sense at all.

Nicolas Fränkel
Aug 4, 2013 duchess swiss soft-shake

Happy summer holidays

The time of the year has come for me to go on holidays. For two weeks, no technology watching, no tech post reading, no blogging, no coding and most important of all, no computer at all. If you belong to the group of people who already spent their holidays - or even worse, to those who do not have vacations, rejoice (or not)!

Nicolas Fränkel
Jul 28, 2013

The Leprechauns of Software Engineering

This review is about The Leprechauns of Software Engineering by Laurent Bossavit, self-published Leanpub. Facts 13 chapters, $5 minimum, $10 suggestedThe book is about many things we all take for granted in software engineering, and that have no reliable underlying scientific basis Pros and cons This is not your average tech book, nor your average methodology book. As such, it cannot be reviewed through the pros/cons prism.

Nicolas Fränkel
Jul 21, 2013 ant build gradle maven

Stop the f... about Gradle

Stop the f… about #Spring & #Hibernate migrating to #Gradle. Repeat after me: "my project do NOT have the same requirements" #Maven— Nicolas Fränkel 🇪🇺🇺🇦🇬🇪 (@nicolas_frankel) July 16, 2013 This was my week’s hate, and I take full responsibility for every character in it. While that may seem like a troll, Twitter is not really the place to have a good-natured debate with factual arguments, so here is the follow up.

Nicolas Fränkel
Jul 14, 2013 3d angularjs javascript three.js

You should check AngularJS...

... even if you’re a server-side guy! It is not because I’m a big Vaadin fan that I’m completely rejecting other technologies even before trying them. In this regard, I must stay I’ve been strongly impressed by the AngularJS talk at Devoxx France 2013.

Nicolas Fränkel
Jul 7, 2013 maven

Maven between different environments

As a consultant, I find myself in different environments in need of different configurations. One such configuration is about the Maven settings file. This file is very important, for it governs such things as servers, mirrors and proxies. When you have a laptop, switching from customer configuration to home configuration and vice versa when you change place quickly becomes a bore. When you have to handle more than one customer, it escalates a nightmarish and tangled configuration mess.

Nicolas Fränkel
« Newer Posts Page 62 of 83 Older Posts »
A Java geek © 2008-2026
v. c90dd4d646b9e4bbf57f27db1c7f530278e83315/13214997907
Latest Posts