Archive for July, 2009

Effective Java developer, part 1 – singletons

Tags: , ,

As I said in me previous post, today I am going to start series of posts about the most interesting things from the book “Effective Java”. I will try to cover  topics which every Java developer can encounter during common workday.

Three ways to create singleton

The very, very standard singleton looks like that:

package pl.tomaszdziurko.effectivejava;
public class LeoMessi {
  public static final LeoMessi INSTANCE = new LeoMessi();
 private LeoMessi() {
   // create only one existing instance of LeoMessi, as he is unique
 }
 public void doMagicWithBall() {
    //do something incredible on the pitch
  }
}

Continue reading this post …


Be Sociable, Share!

Effective Java – make your code better, book review

Tags: , ,

Recently I bought book I wanted to read for a long time, polish translation of “Effective Java (2nd edition)” by Joshua Bloch. I found many very positive opinions and reviews (some from Amazon) about this title and after more than 250 pages I can say one thing: Continue reading this post …


Be Sociable, Share!

Javarsovia 2009 – wrażenia

Tags: , , , ,

Dear Reader
This post is in my native language as it applies only to developers society in Poland. Please feel free to check my other posts which are mainly written in English.

Właśnie wróciłem z konferencji Javarsovia 2009. Ogólne wrażenia jak najbardziej pozytywne, dokładniejsza relacja poniżej. Najbardziej żałuję, że nie udało się mi wyciągnąć tylu znajomych ilu chciałem, no i że nie wygrałem kubka ;)

Godz. 9:00 – Intro

Na miejscu byliśmy wcześnie, bo tuż przed 9, dlatego spore było nasze zdziwienie, gdy okazało się, że przy rejestracji ustawiły się już trzy wężyki z uczestnikami. Na szczęście wszystko przebiegło sprawnie, każdy otrzymał trochę materiałów spamowo-informacyjnych, smycz, długopis, notatnik i identyfikator na szyję z rozkładem jazdy konferencji na rewersie (super pomysł!). Potem nastąpiło krótkie rozpoczęcie i każdy mógł udać się na wykład lub warsztat, który go najbardziej interesował.

Ja z dostępnych prezentacji wybrałem następujące: Continue reading this post …


Be Sociable, Share!