quarta-feira, 10 de dezembro de 2008

Carregando arquivos a partir de uma classe

NomeClasse.class.getResourceAsStream("/arquivo.txt");

arquivo.txt deve estar localizado no raíz da pasta src.

terça-feira, 11 de novembro de 2008

Anemic Domain Model

Objetos de domínio sem comportamento:

http://www.martinfowler.com/bliki/AnemicDomainModel.html

segunda-feira, 13 de outubro de 2008

terça-feira, 5 de agosto de 2008

Commons Lang

http://commons.apache.org/downloads/download_lang.cgi

Ver classe StringEscapeUtils para fazer "escape" por exemplo, de arquivos xml.

terça-feira, 22 de julho de 2008

quinta-feira, 15 de maio de 2008

segunda-feira, 28 de abril de 2008

websequencediagrams

Criação de diagramas de sequência utilizando se uma linguagem "Natural":

http://www.websequencediagrams.com/

quarta-feira, 27 de fevereiro de 2008

Assembla - Free Team Spaces

http://www.assembla.com/

Selenium test tool

Selenium is a test tool for web applications. Selenium tests run directly in a browser, just like real users do. It runs in Internet Explorer, Mozilla and Firefox on Windows, Linux, and Macintosh, Safari on the Mac. We have plans to target Safari on the iPhone in some months.

http://selenium.openqa.org/

Clover — test with confidence

Your project has many hundreds of unit tests, and JUnit's green bar of goodness gives you a sense that your code base is well tested. But how well do those tests actually test the code base? What code are the tests actually testing (and which code isn't being tested at all?) Which particular tests are hitting a particular piece of code? Is the test suite getting out of date?

Clover gives you these answers — in whatever way suits you best:


http://www.atlassian.com/software/clover/