Posts by Category

Uncategorized

Undo svn add operation

less than 1 minute read

If you want to cancel an svn add operation, do not use svn delete or svn remove, according to this post. You can issue the following command to undo a svn ad...

Checkout only one file from Subversion

less than 1 minute read

I was wondering how to checkout only one folder/file from SVN when I found this interesting tip. The command I issued to do it is the following:

When to use TestNG or JUnit

less than 1 minute read

There is an interesting discussion between using TestNG or JUnit on Java projects at Javalobby. It’s very worth reading.

Configuration classes with Enums

less than 1 minute read

As I mentioned on my previous post, an alternative implementation to create Singleton in Java is with Enum types.

Singleton in Java with Enum types

less than 1 minute read

Java 1.5 introduced the concept of Enum types. They are type-safe constants, which implements equals(), hashCode() and cannot be extended. Each constant can ...

Java-Quiz: The Iterator Quiz

less than 1 minute read

Danilo sent us an interesting Java-Quiz from the Java Specialists’ Newsletter created by Olivier Croisier. You have to insert your corrective code in place o...

Eclipse Log4J template

less than 1 minute read

My friend Bruno sent me an interesting tip on how to create a Log4J template at Eclipse. Just follow these steps:

Using Hamcrest and JUnit

2 minute read

Lately I started using the core Hamcrest matchers bundled with the JUnit framework to create more readable unit tests.

The power of pair programming

1 minute read

Some weeks ago I started doing pair programming with some co-workers basically for two things:

My paper MIMECORA-DS added as LNCS at SpringerLink

less than 1 minute read

I’m proud to announce that my paper A Collaborative Support Approach on UML Sequence Diagrams for Aspect-Oriented Software was added as lecture notes in comp...

My first experiences on a Scrum team

1 minute read

I moved to a new job recently, which applies agile methodologies to manage software teams, particularly Scrum, which was adopted to make an effective managem...

Fixing Eclipse buttons for Ubuntu 9.10

less than 1 minute read

I’ve just updated to the new Ubuntu Karmic 9.10 and I’ve found some weird problems running Eclipse. Some buttons didn’t work when they were clicked, but the ...

Product Owner vs Product Manager

1 minute read

I received from @akitaonrails an interesting article concerning the differences and responsibilities of the product owner and product manager roles.

Effect propagation to code

less than 1 minute read

Reading Michael Feathers’ ‘Working Effectively With LegacyCode’, I found quite interesting his heuristics to trace propagation of effects to code:

JDK7 Tackles Java Verbosity

less than 1 minute read

Interesting article showing some changes on the Java platform to address its verbosity, but keeping code readability safe. I liked the new Collection’s liter...

A Brief History of Java and JDBC

less than 1 minute read

From Javalobby, an interesting and short video showing the evolution of the Java platform since 1991.

Constructors in Scala

less than 1 minute read

I just came across an interesting post by Stephan Schmidt about constructors in Scala.

“Salute #{@Ruby}!”

less than 1 minute read

Some times ago I had to parse a XML messages’ file to produce some i18n properties files.

Twitter on Scala Interview

1 minute read

There is a nice interview with the Twitter development team on Artima about using Scala in production on Twitter code. The team talks about some issues and f...

Twitter Ecosystem Tools

less than 1 minute read

I’m very impressed of how many applications are being built on top of Twitter. This simple communication tool bas became so popular that people use it to exp...

My first impressions about LaTex

2 minute read

There’s been a good time I have wanted to try the http://en.wikipedia.org/wiki/LaTeX. So many times some masters / doctorate friends told about it for me ver...

The Fan programming language

1 minute read

Cedric has showed us an interesting programming language called Fan, which has a lot of useful features. The ones I liked most are:

About CSS2 Selectors

less than 1 minute read

Some days ago I was trying to customize my blog’s look and feel to remove my pic from each one of my entries. At my blog’s theme, every <img> tag (whic...

Generating LGPL notices with Python support

2 minute read

When we started developing JFileContentManager, we didn’t even think to release it as an open-source project. So, when we finished the project, I particularl...

Effective Java Programming with Joshua Bloch

less than 1 minute read

Nice video from Joshua Block, Chief Java Architect at Google, talking about his Effective Java™ Programming Language Guide book and also about the consequenc...

Is Java on a evolutionary dead end way?

1 minute read

Artima is running an article where Bruce Eckel talks about about Java’s objective on backwards compatibilities and the problem of combinatorial complexity wh...

JFileContentManager has been released!

1 minute read

JFileContentManager is a Java based file manager desktop application, it can show, edit and manipulate the content of the files archived inside a zip. Showin...

Strongly Java typed safe delegates

1 minute read

This great post explores an interesting Java implementation about using the delegate programming feature, in a type safe way. Delegate is a form of function ...

TestSuite Merlin javadoc

less than 1 minute read

Running through the Java TestSuite API I’ve found this funny javadoc..

Swing tips and tricks

1 minute read

Some days go I was given the task to customize the Java Swing widgets for a project in our company. The default look and feel of a JDialog, specifically, has...

Google announces Android

less than 1 minute read

Google ended up the mystery and announced a mobile free development platform, called Android and not a GPhone, as someone would expect. This platform leverag...

The war between Apple and developers

less than 1 minute read

Cédric has posted an interesting point of view about the war between Apple and the developers. This war started when Java developers knew Leopard doesn’t inc...

How Hard Could It Be? Five Easy Ways to Fail

less than 1 minute read

Pedro da Ros has pointed me an interesting article from Joel Spolsky about ways software projects go wrong. Five Easy Ways to Fail shows us five step-guide t...

Changing Firefox profile location on Win

1 minute read

Some days ago I finally had enough time to move all my Documents and Settings folder to a dedicated partition, storing my Home directory and files (I already...

Why not design patterns?

1 minute read

Some months ago, Cedric has reported people criticizing the use of design patterns on software projects, with some arguments like:

See-Through Mobile Devices

less than 1 minute read

Check out this interesting video about LucidTouch see-through mobile device. See-Through Mobile Devices let users see their hands while touching behind the d...

About use case reuse

less than 1 minute read

Here are some good idioms by Scott Ambler on use case reuse. Must read. I’m trying to keep this blog up to date, but it’s being very difficult…

Do you need closures in Java?

less than 1 minute read

TheServerSide has raised a question about whether closures proposals to be implemented in the Java language are really necessary. In my opinion, I think the ...

Web 2.0 ‘neglecting good design’

less than 1 minute read

Here is an interesting interview with the usability guru Jakob Nielsen which he says web firms are so emphasized in the hype of Web 2.0 as the “latest fashio...

Firefox tips and tricks

less than 1 minute read

Check out these 15 firefox tips and tricks! The ones I like most are Ctrl+Tab (rotate forward among tabs) and Ctrl+1-9 (choose a number to jump to a specific...

Inspect your Java codebase with SemmleCode

1 minute read

This Eclipse plugin seems to be a nice tool to drill down into your company codebase. You can gather with it code conventions, metrics, styles, method name p...

Method Refactoring

1 minute read

bpfurtado has raised an important question concerning some odd practices in software programming. People who code applying the same paradigm to all computer ...

Integrating Struts and Spring

1 minute read

My coworker Max has argued with me there is no relationship between Java web based frameworks, specially Struts and Spring. Well, I completelly disagreed wit...

Interview with Grady Booch

less than 1 minute read

Interesting interview with Grady Booch, an IBM fellow who developed the first drafts of OOP and the Booch Method, which was a precursor to UML. In this inter...

Setting up a local SVN on Linux and Windows

1 minute read

I was intended to create a local SVN repository to host my Eclipse projects in home. So, I decided to share the same SVN repository on Linux (a Kubuntu distr...

Checked or Unchecked?

1 minute read

Nice post from Bruce Eckel about whether Java needs or not checked exceptions. I have to admit, I changed a lot my thougths about using checked exceptions in...

Indicating the absence of an object

1 minute read

Sometimes I’ve seen some Java code intended to indicate the absence of parameters, that is, code validating null parameters (every public method must have a ...

List<?> or List ?

2 minute read

Java 1.5 introduced some new concepts at the Java language level. One of them is Generics, which you can make use mainly when creating type safe collections....

About Refactoring

less than 1 minute read

From Objects First With Java’s book: “Refactoring is the activity of restructuring an existing design to maintain a good class design when the application is...

Spring 2.0 released

less than 1 minute read

Spring 2.0 has been final released. Here is the news.

SRP Example – Bowling Game

2 minute read

Browsing Uncle Bob’s blog, I’ve found this interesting post about teaching TDD with a practical example. It tries to show the principles of TDD while impleme...

Applying the Law of Demeter

2 minute read

Have you ever been told about the Law of Demeter when developing object-oriented systems? This law states the following:

Open sourcing Java: good or bad?

less than 1 minute read

Sun announced it will start open sourcing Java by the end of this year, according to eweek. Sun plans to open-source firts the Java C (Java Compiler) and the...

Interfaces and Abstract classes

1 minute read

My friend bruno started a thread about interfaces and abstract classes and I wanna continue here. I totally agree with his points and I’m adding other ones h...

GRASP patterns

1 minute read

Have you ever been told about GRASP patterns? Those kind of patterns are part of the design discipline of the unified process. Their goal is to assign classe...

Thread Groups

less than 1 minute read

Some months ago I was wondering what was the benefit of using thread groups, which is a container of threads in Java. Reading Bruce Eckel’s Thinking in Java,...

About version control

less than 1 minute read

What do java programmers version control? is a good question to ask ourselves in the corporate world of software development. I think we should version cont...

Software testing purposes

less than 1 minute read

James Bach has a interesting opinion about testing software systems. I think it’s a different opinion from any team project manager or developer. He not only...

Eclipse Callisto is finally released!

less than 1 minute read

Eclipse Callisto is available! You can download it here. Eclipse 3.2 build has been released too. Check out the New and Noteworthy.

Jatalla – New web search engine’s experience

less than 1 minute read

Wikinews has reported a new web search engine called Jatalla, which uses only user generated submissions as results, is coming soon. It’s a different approa...

Google increasing its computing power

less than 1 minute read

My friend Marcel Ferreira sent me this article which says Google is building two brand new data centers, as big as two football fields, on The Dalles, Ore. G...

Spyware killer

less than 1 minute read

I’ve came across Bruce Eckel’s old weblog and found a post about Spybot-Search & Destroy to eliminate spywares, malwares, trojans from Windows. It’s unco...

Aurora 7500 Desktop

less than 1 minute read

Take a look at this cool Aurora 7500 Desktop. The winners of Extend Firefox Contest will receive this machine with a nice and great firefox design 🙂

Microsoft on net nasties

less than 1 minute read

Funny news from AustralianIT. Even Steve Ballmer couldn’t rid a Windows infected machine from virus, spyware, worms et cetera. Is there any possibility to re...

Explorer Destroyer

less than 1 minute read

If you want people switching from IE to Firefox, take a look at this tool. You can even earn money from Google for each person you switch! Firefox users, joi...

Association or Aggregation?

less than 1 minute read

I’ve been discussing with my co-workers when we have to use Aggregation or Association in UML models. Martin Fowler in UML Distilled, 3rd Edition says aggreg...

Sun is gonna open source Java?

less than 1 minute read

I’ve came across Vnunet to a interesting news that Jonathan Schwartz, Sun’s new CEO, said that Sun will release the source code of Java. One point of view is...

Introducing myself

less than 1 minute read

Hi! This is my first post on my blog. I’m a software developer and I’m here to share discussions on software development in general. I was graduated in Compu...

Back to Top ↑

programming

About using Test Doubles in tests

less than 1 minute read

I have just read an interesting chapter from the Software Engineering book at Google about using Test Doubles in tests.

About JUnit 5 parameterized tests

less than 1 minute read

Interesting article about JUnit 5 parameterized tests using BDD (Behaviour-Driven Development) style. It shows an example of using @CsvSource as arguments so...

Writing your own custom Java stream collector

1 minute read

One of the common operations of the Collectors API introduced in Java 8 is the possibility to collect results into a result container like List, Set or Map. ...

Jcombiner: Combinations of collections for Java

less than 1 minute read

JCombiner is a framework to generate combinations of collections for Java. I have written it in Java 11 using Java 9 modules (JPMS) and Gradle as build tool....

JavaCodeKata – Lambdas

1 minute read

I’ve came across that kata from @brjavaman and @yanaga to teach lambdas, one of the new features of JDK 8.

K Palindromes puzzle

less than 1 minute read

Here we have the K Palindromes puzzle from Javalobby:

Finding the second highest frequency

less than 1 minute read

It’s been a long time since I posted for the last time, but I promise I’ll try to keep this blog up-to-date 🙂

Back to Top ↑

java

About using Test Doubles in tests

less than 1 minute read

I have just read an interesting chapter from the Software Engineering book at Google about using Test Doubles in tests.

About JUnit 5 parameterized tests

less than 1 minute read

Interesting article about JUnit 5 parameterized tests using BDD (Behaviour-Driven Development) style. It shows an example of using @CsvSource as arguments so...

Writing your own custom Java stream collector

1 minute read

One of the common operations of the Collectors API introduced in Java 8 is the possibility to collect results into a result container like List, Set or Map. ...

Jcombiner: Combinations of collections for Java

less than 1 minute read

JCombiner is a framework to generate combinations of collections for Java. I have written it in Java 11 using Java 9 modules (JPMS) and Gradle as build tool....

JavaCodeKata – Lambdas

1 minute read

I’ve came across that kata from @brjavaman and @yanaga to teach lambdas, one of the new features of JDK 8.

Back to Top ↑

development

Writing your own custom Java stream collector

1 minute read

One of the common operations of the Collectors API introduced in Java 8 is the possibility to collect results into a result container like List, Set or Map. ...

Jcombiner: Combinations of collections for Java

less than 1 minute read

JCombiner is a framework to generate combinations of collections for Java. I have written it in Java 11 using Java 9 modules (JPMS) and Gradle as build tool....

JavaCodeKata – Lambdas

1 minute read

I’ve came across that kata from @brjavaman and @yanaga to teach lambdas, one of the new features of JDK 8.

Back to Top ↑

code

Jcombiner: Combinations of collections for Java

less than 1 minute read

JCombiner is a framework to generate combinations of collections for Java. I have written it in Java 11 using Java 9 modules (JPMS) and Gradle as build tool....

K Palindromes puzzle

less than 1 minute read

Here we have the K Palindromes puzzle from Javalobby:

Finding the second highest frequency

less than 1 minute read

It’s been a long time since I posted for the last time, but I promise I’ll try to keep this blog up-to-date 🙂

Back to Top ↑

lambdas

Writing your own custom Java stream collector

1 minute read

One of the common operations of the Collectors API introduced in Java 8 is the possibility to collect results into a result container like List, Set or Map. ...

Jcombiner: Combinations of collections for Java

less than 1 minute read

JCombiner is a framework to generate combinations of collections for Java. I have written it in Java 11 using Java 9 modules (JPMS) and Gradle as build tool....

JavaCodeKata – Lambdas

1 minute read

I’ve came across that kata from @brjavaman and @yanaga to teach lambdas, one of the new features of JDK 8.

Back to Top ↑

streams

Writing your own custom Java stream collector

1 minute read

One of the common operations of the Collectors API introduced in Java 8 is the possibility to collect results into a result container like List, Set or Map. ...

Jcombiner: Combinations of collections for Java

less than 1 minute read

JCombiner is a framework to generate combinations of collections for Java. I have written it in Java 11 using Java 9 modules (JPMS) and Gradle as build tool....

Back to Top ↑

ruby

K Palindromes puzzle

less than 1 minute read

Here we have the K Palindromes puzzle from Javalobby:

Finding the second highest frequency

less than 1 minute read

It’s been a long time since I posted for the last time, but I promise I’ll try to keep this blog up-to-date 🙂

Back to Top ↑

jdk8

JavaCodeKata – Lambdas

1 minute read

I’ve came across that kata from @brjavaman and @yanaga to teach lambdas, one of the new features of JDK 8.

Back to Top ↑

java8

Back to Top ↑

collectors

Writing your own custom Java stream collector

1 minute read

One of the common operations of the Collectors API introduced in Java 8 is the possibility to collect results into a result container like List, Set or Map. ...

Jcombiner: Combinations of collections for Java

less than 1 minute read

JCombiner is a framework to generate combinations of collections for Java. I have written it in Java 11 using Java 9 modules (JPMS) and Gradle as build tool....

Back to Top ↑

functional

Writing your own custom Java stream collector

1 minute read

One of the common operations of the Collectors API introduced in Java 8 is the possibility to collect results into a result container like List, Set or Map. ...

Jcombiner: Combinations of collections for Java

less than 1 minute read

JCombiner is a framework to generate combinations of collections for Java. I have written it in Java 11 using Java 9 modules (JPMS) and Gradle as build tool....

Back to Top ↑

languages

K Palindromes puzzle

less than 1 minute read

Here we have the K Palindromes puzzle from Javalobby:

Finding the second highest frequency

less than 1 minute read

It’s been a long time since I posted for the last time, but I promise I’ll try to keep this blog up-to-date 🙂

Back to Top ↑

puzzle

K Palindromes puzzle

less than 1 minute read

Here we have the K Palindromes puzzle from Javalobby:

Finding the second highest frequency

less than 1 minute read

It’s been a long time since I posted for the last time, but I promise I’ll try to keep this blog up-to-date 🙂

Back to Top ↑

arrays

Back to Top ↑

testing

About using Test Doubles in tests

less than 1 minute read

I have just read an interesting chapter from the Software Engineering book at Google about using Test Doubles in tests.

About JUnit 5 parameterized tests

less than 1 minute read

Interesting article about JUnit 5 parameterized tests using BDD (Behaviour-Driven Development) style. It shows an example of using @CsvSource as arguments so...

Back to Top ↑

kotlin

About JUnit 5 parameterized tests

less than 1 minute read

Interesting article about JUnit 5 parameterized tests using BDD (Behaviour-Driven Development) style. It shows an example of using @CsvSource as arguments so...

Back to Top ↑

groovy

Integration tests in a Gradle build

less than 1 minute read

Here is an interesting post about how to add integration tests and configure its dependencies in a Gradle build.

Back to Top ↑

gradle

Jcombiner: Combinations of collections for Java

less than 1 minute read

JCombiner is a framework to generate combinations of collections for Java. I have written it in Java 11 using Java 9 modules (JPMS) and Gradle as build tool....

Integration tests in a Gradle build

less than 1 minute read

Here is an interesting post about how to add integration tests and configure its dependencies in a Gradle build.

Back to Top ↑

idea

Back to Top ↑

intellij

Back to Top ↑

optional

Back to Top ↑

collections

Writing your own custom Java stream collector

1 minute read

One of the common operations of the Collectors API introduced in Java 8 is the possibility to collect results into a result container like List, Set or Map. ...

Jcombiner: Combinations of collections for Java

less than 1 minute read

JCombiner is a framework to generate combinations of collections for Java. I have written it in Java 11 using Java 9 modules (JPMS) and Gradle as build tool....

Back to Top ↑

junit

About using Test Doubles in tests

less than 1 minute read

I have just read an interesting chapter from the Software Engineering book at Google about using Test Doubles in tests.

Jcombiner: Combinations of collections for Java

less than 1 minute read

JCombiner is a framework to generate combinations of collections for Java. I have written it in Java 11 using Java 9 modules (JPMS) and Gradle as build tool....

Back to Top ↑

junit5

About JUnit 5 parameterized tests

less than 1 minute read

Interesting article about JUnit 5 parameterized tests using BDD (Behaviour-Driven Development) style. It shows an example of using @CsvSource as arguments so...

Jcombiner: Combinations of collections for Java

less than 1 minute read

JCombiner is a framework to generate combinations of collections for Java. I have written it in Java 11 using Java 9 modules (JPMS) and Gradle as build tool....

Back to Top ↑

mockito

About using Test Doubles in tests

less than 1 minute read

I have just read an interesting chapter from the Software Engineering book at Google about using Test Doubles in tests.

Jcombiner: Combinations of collections for Java

less than 1 minute read

JCombiner is a framework to generate combinations of collections for Java. I have written it in Java 11 using Java 9 modules (JPMS) and Gradle as build tool....

Back to Top ↑

palindrome

K Palindromes puzzle

less than 1 minute read

Here we have the K Palindromes puzzle from Javalobby:

Back to Top ↑

string

K Palindromes puzzle

less than 1 minute read

Here we have the K Palindromes puzzle from Javalobby:

Back to Top ↑

kata

JavaCodeKata – Lambdas

1 minute read

I’ve came across that kata from @brjavaman and @yanaga to teach lambdas, one of the new features of JDK 8.

Back to Top ↑

stream

JavaCodeKata – Lambdas

1 minute read

I’ve came across that kata from @brjavaman and @yanaga to teach lambdas, one of the new features of JDK 8.

Back to Top ↑

debug

Back to Top ↑

eclipse

Back to Top ↑

teamwork

Back to Top ↑

jdk9

Back to Top ↑

interface

Back to Top ↑

polymorphism

Back to Top ↑

combinations

Jcombiner: Combinations of collections for Java

less than 1 minute read

JCombiner is a framework to generate combinations of collections for Java. I have written it in Java 11 using Java 9 modules (JPMS) and Gradle as build tool....

Back to Top ↑

java11

Jcombiner: Combinations of collections for Java

less than 1 minute read

JCombiner is a framework to generate combinations of collections for Java. I have written it in Java 11 using Java 9 modules (JPMS) and Gradle as build tool....

Back to Top ↑

jcombiner

Jcombiner: Combinations of collections for Java

less than 1 minute read

JCombiner is a framework to generate combinations of collections for Java. I have written it in Java 11 using Java 9 modules (JPMS) and Gradle as build tool....

Back to Top ↑

jdk11

Jcombiner: Combinations of collections for Java

less than 1 minute read

JCombiner is a framework to generate combinations of collections for Java. I have written it in Java 11 using Java 9 modules (JPMS) and Gradle as build tool....

Back to Top ↑

jdk14

Writing your own custom Java stream collector

1 minute read

One of the common operations of the Collectors API introduced in Java 8 is the possibility to collect results into a result container like List, Set or Map. ...

Back to Top ↑

test

About using Test Doubles in tests

less than 1 minute read

I have just read an interesting chapter from the Software Engineering book at Google about using Test Doubles in tests.

Back to Top ↑

tests

About using Test Doubles in tests

less than 1 minute read

I have just read an interesting chapter from the Software Engineering book at Google about using Test Doubles in tests.

Back to Top ↑

unittests

About using Test Doubles in tests

less than 1 minute read

I have just read an interesting chapter from the Software Engineering book at Google about using Test Doubles in tests.

Back to Top ↑

Kafka

Back to Top ↑

spring

Back to Top ↑

spring boot

Back to Top ↑