Main menu:

View Douglas Rodrigues's profile on LinkedIn

Site search

Syndication

Categories

September 2010
M T W T F S S
« Sep    
 12345
6789101112
13141516171819
20212223242526
27282930  

Archive

Archive for 'howtos'

Start learning JCR and Apache Jackrabbit

If you would like to get your hands dirty on content repositories in Java, but found no help to start, maybe the essay I wrote for the Cambridge Technology Partners Java blog can be of your interest.
It shows how to create the initial environment for a simple Java web project, so you can use it […]

Eclipse hint - Singleton quick create

Let’s make singleton creating in Eclipse easier. Go to “Window>Preferences…” and navigate through the following structure: “Java>Editor>Templates”. Click “New…” and put ‘singleton‘ in the “Name” field. In the “Pattern” field, put the following code.
/**
* Singleton
*/
private static final ${enclosing_type} instance = new ${enclosing_type}();
public static ${enclosing_type} getInstance() {
return instance;
}
private ${enclosing_type}() {}
Now, to create singleton classes, all you […]

HOWTO - Viajar para o interior de São Paulo nos feriados

No feriado da Páscoa, eu e mais um milhão de infelizes decidimos (ou precisamos) viajar de São Paulo para o interior do estado. Tal qual um dia de trabalho corriqueiro, ir foi fácil (nem tanto); voltar é que foi embaçado…
A viagem que eu faço religiosamente todo final de semana é de São Paulo a Itapetininga. […]