SIDEBAR
»
S
I
D
E
B
A
R
«
Test coverage…
May 31st, 2007 by P.G.Taboada

Early one morning, a programmer asked the great master:

“I am ready to write some unit tests. What code coverage should I aim for????

The great master replied:

“Don’t worry about coverage, just write some good tests.???

The programmer smiled, bowed, and left.

Read the rest of this entry »

Spring milestone and RC artifacts
May 30th, 2007 by P.G.Taboada

I just read that the “non final release” spring artifacts for maven 2 won’t be uploaded to the main maven repository. The new location for the “non final” artifacts is now:

https://svn.sourceforge.net/svnroot/springframework/repos/repo-snapshots/

Read the rest of this entry »

Tailored Geronimo assembly with “Spring Application” deployment
May 24th, 2007 by P.G.Taboada

GasWerk LogoGeronimo is a Open Source (Apache License) full blown application server. On the homepage it is possible to download two versions – the full Java EE stack appserver and a smaller assembly only with either tomcat or jetty.

Now there is another assembly available at http://gaswerk.sourceforge.net – a “minimal you just get jms” assemlby. This is specially interesting for those wanting to move out the JMS server to another machine, or want to create a JMS cluster.

But, the most interesting assembly surely is the spring deployment server. This Geronimy assembly allows you to deploy “spring  applications” – packaged as jars –  providing a special bootstrap configuration in the META-INF folder in the jar.

Draw diagrams inside Conflunce
May 24th, 2007 by P.G.Taboada

Today I found Gliffy, a diagram drawing plugin for the Confluence Wiki. Interesting idea, since many companies are using Confluence as a documentation plattform, adding drawing capabilities is a significant enhancement in documentation quality. No more attached powerpoint files!

Configuring spring beans with properties
May 24th, 2007 by P.G.Taboada

Spring offers a PropertyPlaceholderConfigurer postprocessor bean that replaces any bean property values in the configuration at runtime. This bean can read properties from within the classpath or directly from the filesystem. If you turn on searching for properties in the system environment you can even use system properties to locate the property files (like user.home directory).

This is a code snippet I often need…

SIDEBAR
»
S
I
D
E
B
A
R
«
»  Substance:WordPress   »  Style:Ahren Ahimsa
Bitnami